Results 1 to 3 of 3
Hello.
This is like a security breach waiting to happen. You see, I have .htaccess files in every directory I want to protect from prying eyes. However, when I go ...
- 11-12-2008 #1Just Joined!
- Join Date
- Oct 2008
- Location
- IceWM
- Posts
- 23
CentOS - Apache doesn't notice .htaccess files
Hello.
This is like a security breach waiting to happen. You see, I have .htaccess files in every directory I want to protect from prying eyes. However, when I go to look at that directory, it lists the directory, and doesn't give me a forbidden error.
I mean, it's giving me:
...instead of a 403 Forbidden Error.Index of craps/
-list of files-
Maybe there was some config option that I forgot to change? Any light shed onto this issue would be helpful.
Thanks,
Coburn64
- 11-15-2008 #2Just Joined!
- Join Date
- Nov 2008
- Posts
- 2
You may use the following line in your .htaccess file to prevent directory listing
Options -Indexes
- 11-17-2008 #3Just Joined!
- Join Date
- Sep 2007
- Location
- Lafayette, IN
- Posts
- 83
What are the contents of the .htaccess files you have in those directories?


Reply With Quote