Basic AuthConfig

March 26, 2006

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