20070118

apache, authentication, htaccess, htpasswd

Create a file .htaccess in the web directory

#.htaccess
AuthUserFile /home/bambino/public_html/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user bambino


To create a user, `htpasswd -c .htpasswd bambino`

No comments:

Post a Comment