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] Error documents
Date Thu, 03 Apr 2003 21:54:57 GMT

On Thu, 3 Apr 2003, P. Dwayne Miller wrote:

> Question... I would like to create an error page in HTML (actually I
> already have one) and have Apache present this page instead of other
> error messages.  What I would like to have happen that is a little
> different than the way Apache currently handles error documents is
> this...  I don't want a redirect to the error page... I just want my
> error page spit out instead of the requested page that caused the error.

Apache only sends a redirect if you use a full URL (starting in http://).
If you do something like
ErrorDocument 404 /error/page.html
then apache will not send a redirect; it will simply deliver the content
as you want.

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