Howto configure an ErrorDocument for every possible status

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

 



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@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