Log In · Register

 
Apache "Option -Indexes" and 404 Not Found
mipadi
post Feb 17 2010, 11:47 PM
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?
 
 
Start new topic
Replies
mipadi
post Feb 18 2010, 08:19 AM
Post #2


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



That's what I'm doing, but I would like to return 404 instead of 403.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: