Problem With Htaccess
I would like to set up password protection on a directory, and I'm just not understanding what I'm not doing that would make it work correctly.
In the directory I want to protect, I have an .htaccess file: Quote:
Quote:
Quote:
Anyway, doesn't work, I can waltz on in to the directory without a PWD/UID. Is there something I'm missing? Do I need to make changes to httpd.conf? |
In httpd.conf you must use:
Code:
AllowOverride AuthConfig |
Quote:
|
I'm pretty sure that's a global directive ie you only need to set it once in your httpd.conf file above the dir specific sections.
Check your httpd.conf file, it's probably already there, just commented out. |
All times are GMT -5. The time now is 03:03 PM. |