Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 31067 invoked from network); 6 Jul 2009 14:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 14:57:40 -0000 Received: (qmail 11369 invoked by uid 500); 6 Jul 2009 14:57:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 11333 invoked by uid 500); 6 Jul 2009 14:57:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 11324 invoked by uid 99); 6 Jul 2009 14:57:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 14:57:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chintankachhi@gmail.com designates 74.125.92.150 as permitted sender) Received: from [74.125.92.150] (HELO qw-out-1920.google.com) (74.125.92.150) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 14:57:36 +0000 Received: by qw-out-1920.google.com with SMTP id 14so974017qwa.48 for ; Mon, 06 Jul 2009 07:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MMqHtCdWq7SQjlsk++ODjxAsxJR1KUjufzfDRl8jjms=; b=NKoEI0zzjaM3qZAjAuaHsGqZQXDUVVtaZiO28dq6eUdHoMybqZjcN50BeCgxbyRI1O wmq829O/mF+I4GogDIp07wEHRTXwsIuAT9aiJauE6g6NZlpXmYOf+08wV0mv3JGAkPzA 4U2X61Ug9NwQ2ldM9XTFUwZxBgibWT3voQsFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RbzKmvTnRT1kfAscvnid7W0dxpfTdzWByTABABPK9GsItYLDUxEf/4pxDSjckYPuTK Glv4WikXYHifXSvN34NEMXqcJxZonGhz9UcXhhTXrIPUhjQStRVFWiMNE/z7UAdeQQK7 viSTONChG9bf0poMW2Aj/xB+h3mAyflnwTZ/4= MIME-Version: 1.0 Received: by 10.229.81.136 with SMTP id x8mr2163633qck.95.1246892229583; Mon, 06 Jul 2009 07:57:09 -0700 (PDT) Date: Mon, 6 Jul 2009 09:57:07 -0500 Message-ID: From: Chintan Kachhi To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=0016361647576b2df0046e0ab8d2 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] How to see/use the response when the apache server is down. --0016361647576b2df0046e0ab8d2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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? --0016361647576b2df0046e0ab8d2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have installed apache http server version 2.2 on my local machine. I am t= rying 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 pag= e. Does anyone know how can I apply this condition. So for starters, how ca= n I know if the server is down? Is there a status code that is returned whe= n the server is down while I am trying to hit it, and if so, how do I see t= hat http status code that is returned?
--0016361647576b2df0046e0ab8d2--