![]() |
Hiding htaccess?
When I browse to my .htaccess file:
http://members.mysite.com/.htaccess Explorer asks me if I would like to open or download it, and then lets me?! Obvioulsy thus exposing the location of the password file. Its CHMOD to 644 and I got the following code in it: <Files .*> order allow,deny deny from all </Files> How do I stop this from happening???? |
Let's see how badly mangled this will be:
<Files ~ "^\.ht"> Order allow,deny Deny from all </Files> |
Yeah, that's what I've already got in - I tried to write that in the post above but it got parsed I think.
Anything else I'm missing? |
Quote:
The server does have AccessFileName set to .htaccess right? |
All times are GMT -7. The time now is 03:07 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123