You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2009/07/06 17:26:49 UTC

Re: [users@httpd] How to see/use the response when the apache server is down.

On Mon, Jul 6, 2009 at 10:57 AM, Chintan Kachhi<ch...@gmail.com> wrote:
> I have installed apache http server version 2.2 on my local machine. I am
> trying to write an apache rewrite module for the case when the apache server
> is down. When the server is down, I need to redirect to a custom error page.
> Does anyone know how can I apply this condition. So for starters, how can I
> know if the server is down? Is there a status code that is returned when the
> server is down while I am trying to hit it, and if so, how do I see that
> http status code that is returned?
>

Can you elaborate?  Are you talking about a proxy scenario? Otherwise,
 If your webserver is "down" there's no HTTP status code to speak of
or chance to redirect.

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