httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] ErrorDocument question
Date Thu, 08 Jun 2006 02:03:23 GMT
On 6/7/06, Yong Lee <ylee@eqo.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message