Basic AuthConfig
Sun Mar 26, 2006 · 39 words

To enable per-user homedirectory authentication:

$ nano /Users/user/Sites.htaccess

AuthUserFile /Users/user/.htpasswd

AuthName "Palun anna parool"

AuthType Basic

require user username



$ htpasswd -c .htpasswd username



$ sudo nano /etc/httpd/httpd.conf



AllowOverride AuthConfig





$ sudo serveradmin stop web; sudo serveradmin start web

back · essays · credits ·