htaccess issues
Hi!
I have a Centos5 box at home that I am using as a web server. I am trying to password protect the myphpadmin folder with htaccess. I am using a valid htaccess file (I copied it from a working website www.woodwardlink.com/secure). I access my home server via the ip address, for example 78.98.105.195. The phpmyadmin directory structure is inside /var/www/html and the .htaccess file is inside the phpmyadmin directory. When I type 78.98.105.195/phpmyadmin into my web browser, it just rips through to the phpmyadmin stuff without prompting for a password. Please help! |
You need at least to put
Code:
AllowOverride AuthConfig |
Need a bit more help
I am close to understanding this issue, but I don't quite understand where this command should go in the httpd.conf file. It is mentioned several times. Everytime I change something in the httpd.conf file, I get barked at when trying to restart httpd ("AllowOverride not allowed here (line 397)"). Any ideas?
|
I Got It!
I'm sorry, I wasn't understanding your post at first, but now I understand. This httpd.conf file is complex (lots of directives). I will have to get to know them!
Thanks for your help! TW |
All times are GMT -5. The time now is 06:19 AM. |