Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Howto configure an ErrorDocument for every possible status

ef lists

2010-06-23


Author LoginPost Reply
Hi list,

I'm trying to set up an ErrorDocument for almost any HTTP status
that httpd might return. I have a PHP backend and the PHP
application might return an arbitrary set of status, so inside
httpd I have to make least assuptions.

As I don't want the default httpd error page to be served, I
wonder how I configure httpd properly. Do I have to name an
ErrorDocument for every valid status (in 4xx-5xx)? Or is there
a possibility to set up something like a "catch all"
ErrorDocument? I couldn't find anything like that in the docs.

(I know that this shadows the actual error if every
ErrorDocument looks the same, but this is intended. And I also
know, that this approach might not make sense for every status.)

Regards,
Edgar

---------------------------------------------------------------------
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.