View Single Post
Old 10-06-2002, 08:27 AM  
dapproid
Confirmed User
 
Join Date: Sep 2002
Posts: 469
password protection

I want to password protect one section of my site and everyone said that .htaccess is great on apache servers. I tried it, and now I can't access it. When I press the OK button a new query pop up and after that I get: Authorization Required

This is my .htaccess file:

AuthUserFile /var/www/html/mysection/.htpasswd
AuthName mysection
AuthType Basic
<Limit GET>
require valid-user
</Limit>


And this is the .htpasswd file:

username:password


Anyone that recognize this problem??
dapproid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote