Req. for nonexistent dir=404, req. for nonexistent file=200
Why the discrepancy?
MichaelBluejay
10:33 pm on Feb 4, 2006 (gmt 0)
If I request a non-existent file my logfile shows a 200 error, like there was no problem. If I request a non-existent directory my logfile shows the proper 404 error.
There is no .htaccess file which could be interfering. What the heck?
MichaelBluejay
7:15 pm on Feb 7, 2006 (gmt 0)
(bump)
Dijkgraaf
9:27 pm on Feb 7, 2006 (gmt 0)
Do you have a custom 404 page? If so, make sure that it is issuing a 404 status.
MichaelBluejay
12:53 am on Feb 8, 2006 (gmt 0)
I'm not sure how to answer that. As I said, there's no .htaccess file. Is there some other place where a custom 404 page could be specified? And if so, could that explain why requests for nonexistent directories return 404 while requests for non-existant files return 200?
Dijkgraaf
1:06 am on Feb 8, 2006 (gmt 0)
You might have more luck if you post this question in the Apache forum, as it does sounds like some sort of configuration issue.