[users@httpd] Custom 404 ErrorDocument Logs a 200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Using Apache 1.3.33) I have my httpd.conf file specify custom error pages for 404 errors (and some other errors, but that's not important). I'm noticing in my logs, however, that when a user goes to a non-existant page and the server returns the custom 404 page, it's logged as a 200 instead of a 404. I'm guessing this is because the custom page exists so the request was handled as a 200.

Is there a way to make it log as a 404? I only ask because I have a reporting engine looking through my logs and it's registering far fewer 404s in the reports than it should. That and web crawlers aren't getting the hint that those pages aren't there :)

Any ideas?


Regards,
David P. Donahue
ddonahue@xxxxxxxxxxx
http://www.cyber0ne.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux