blob: 3a909a78d9fb0b49b382e9f7eb3a877eeb0fbc54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
You need to setup authentication. For apache do the following:
<Files ${VHOST_CGIBINDIR}/${PN}>
AuthType Basic
AuthUserFile ${VHOST_CONFDIR}${PN}.passwd
AuthName ${PN}
Require valid-user
</Files>
The create the password file like this:
htpasswd -c ${VHOST_CONFDIR}${PN}.passwd <user>
|