.htaccess password protection not working
I have an apache2 install on a debian etch box, and I'd like to protect my www with htaccess password
first, I created a file I called .htpasswd on a secure location with Code:
htpasswd -c .htpasswd username Code:
AuthUserFile path to my /.htpasswd |
Try adding
AllowOverride AuthConfig Is there anything in your logs? |
Like billymayday says: you need to allow your webpage to use .htaccess files. Enter the directive AllowOverride AuthConfig in your Apache configuration for your website (and don't forget to restart Apache afterwards).
|
thank you guys, it works
|
All times are GMT -5. The time now is 04:09 AM. |