View Full Version : IndexIgnore .htaccess
Wassercrats
02-05-2008, 11:26 PM
Futurequest doesn't allow .htaccess to be accessed via the web, but I want to make sure it stays that way if I move to a different server. Shouldn't "IndexIgnore .htaccess" in .htaccess work? I tested IndexIgnore on a different file but I can still view the file in IE.
but I can still view the file in IE.
You can view the file itself (contents) or the file is still listed when enabling a directory listing for that directory and viewing the directory listing? As I understand it IndexIgnore should prevent a specified file from being listed in apache's directory listing (if options +indexes is enabled)
Wassercrats
02-05-2008, 11:44 PM
Oh. So what do I do if I want to make sure htaccess can't be loaded by a browser (or editor, etc.)? Password protect it?
Arthur
02-06-2008, 04:29 AM
<Files .htaccess>
Order allow,deny
Deny from all
</Files> Is one way.
-Arthur
Wassercrats
02-06-2008, 05:07 AM
Yeah, I used that recently and forgot about it. I'll do that and add a comment that says it's not really necessary to do that on Futurequest.
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.