httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Frank <>
Subject [users@httpd] Howto configure an ErrorDocument for every possible status
Date Wed, 23 Jun 2010 07:17:25 GMT
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.)


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message