You could also investigate a server farm, or clustering, or load balancing, or any number of other ways to keep your web site visible, but they are all more complicated; there is no way to reply "I'm dead, sorry" from a single instance of Apache.
hugh Chintan Kachhi 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?
-- Hugh Williams "There are two things to aim for in life; hugh_williams@xxxxxxxxxxx first, to get what you want; and after that, Agilent Technologies to enjoy it. Only the wisest of mankind Santa Rosa 3US achieve the second." (707)-577-4941 - Logan Pearsall Smith, 1931 --------------------------------------------------------------------- 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