Newbie dot Org HomePage
Visit one of our web buddies
Newbie dot Org
Code Snippets

.htaccess
Password protecting a directory

AuthUserFile home/username/public_html/directory/.htpasswd
AuthGroupFile /dev/null
AuthName "Title that shows on screen"
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

Posted by TeamNewbie on 04/03/00 at 09:02:06