Re: How to see/use the response when the apache server is down.

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

 



On Mon, Jul 6, 2009 at 10:57 AM, Chintan Kachhi<chintankachhi@xxxxxxxxx> 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@xxxxxxxxx

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