Re: [users@httpd] ErrorDocument question

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

 



On 6/7/06, Yong Lee <ylee@xxxxxxx> wrote:
I'm trying to configure some custom error pages with apache2.0 and although
I think this is possible, I can't seem to find any documentation describing
how it can be done.

I'd like to define some custom error pages for certain error codes, but then
would like to use a single default error page for all other errors:

ErrorDocument 404 /missing.html

ErrorDocument 500 /dosomething.html

Then for all other error codes, go to


/default.html

rather than using the apache default error message.

Is this possible ?  Any hints/help would be greatly appreciated.

You'll need to specify an ErrorDocument for each error code pointing
at /default.html.

Joshua.

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