You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/vqadmin/files/postinstall-en.txt

13 lines
291 B

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>