httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Re: How to see/use the response when the apache server is down.
Date Mon, 06 Jul 2009 21:10:43 GMT
On Mon, Jul 6, 2009 at 4:55 PM, Chintan Kachhi<chintankachhi@gmail.com> wrote:
> Thanks for the replies... I guess that can't be done then, but after
> thinking a bit, I think that I am probably looking for the scenario where a
> service is down on a server, rather than the server itself. Let's assume
> that I get the following response when the service is down: HTTP/1.1 404 Not
> Found
>
> Is there a way with apache rewrite module to redirect the page based on this
> response? So for example, something as follows: If the response code is 404,
> then redirect to custommessage.html, where I put my custom error message in
> custommessage.html?
>
http://httpd.apache.org/docs/2.2/mod/core.html#errordocument

-- 
Eric Covener
covener@gmail.com

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