You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Geoff Millikan <gm...@t1shopper.com> on 2011/05/23 20:55:33 UTC
[users@httpd] ErrorDocument 404 returns a 200 status code on local URL-path
We're getting a normal "200" response when our custom "/error/404.php" is served but when a *local URL-path* is used such as
"ErrorDocument 404 /error/404.php" I expected Apache 2.2.17 to return the original 404 error status code.
Am I mistaken?
http://httpd.apache.org/docs/current/mod/core.html#errordocument
Thanks,
Geoff at http://www.t1shopper.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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] ErrorDocument 404 returns a 200 status code on local URL-path
Posted by Geoff Millikan <gm...@t1shopper.com>.
> Either the documentation at link below needs updating or
> there's a bug in Apache 2.2.17.
Or there's a user error. :-)
I tested once more before submitting bug report and now it's working, just as documented. No changes on our side. I think our
servers can smell it when I'm posting here and they just fix themselves. Amazing.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] ErrorDocument 404 returns a 200 status code on local URL-path
Posted by Geoff Millikan <gm...@t1shopper.com>.
> When a *local URL-path* is used the original status code should be used but
> we're getting a 200 code when using "ErrorDocument 404 /error/404.php"
Either the documentation at link below needs updating or there's a bug in Apache 2.2.17. If I don't hear back on this list, I'll
submit bug report.
Thanks,
Geoff Millikan
http://httpd.apache.org/docs/current/mod/core.html#errordocument
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org