Apache "Option -Indexes" and 404 Not Found |
Apache "Option -Indexes" and 404 Not Found |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 2,648 Joined: Apr 2008 Member No: 639,265 ![]() |
On my website, I have directory listings disabled via an "Options -Indexes" line in my .htaccess file. However, requests for directories that do not have an index.html file return 403 Forbidden. Is there a way to have it return 404 Not Found instead?
|
|
|
![]() |
![]()
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 ![]() |
Topic Closed, and Moved to Resolved Topics. Please PM a moderator if you would like this reopened.
|
|
|
![]() ![]() |