Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 44866 invoked from network); 18 Dec 2008 22:38:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 22:38:57 -0000 Received: (qmail 98747 invoked by uid 500); 18 Dec 2008 22:38:59 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98725 invoked by uid 500); 18 Dec 2008 22:38:59 -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 98716 invoked by uid 99); 18 Dec 2008 22:38:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 14:38:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 74.125.46.153 as permitted sender) Received: from [74.125.46.153] (HELO yw-out-1718.google.com) (74.125.46.153) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 22:38:39 +0000 Received: by yw-out-1718.google.com with SMTP id 6so259008ywa.84 for ; Thu, 18 Dec 2008 14:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8+lqWmEkAyKOGSp+CtS2qH0GAIfW35ekSTQFyDOwZfs=; b=d4aI+GXKevpAjZY16cdsQ8TsnGBddh8UJ1hGZbPM/54XGGQsFhMEcr2vRXa9nEPwDD 9k/U8RBeuCGpd4BnHOYP4zJ6UJcZlY30xev/oxUEtTPXYxb0XqfMBaFvZQRmKbz0Xp4d vxES9FAO3OmvgCG77miVYV9/WnSMCcPL1saX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LaD8y4gByBSs5QPUKcoK66Oh1j+hxbrFF5B/tofFNCMLy9Ley83VdqZNp+K+Q8OtSX 7zBLbeymZk6VspYN7u0AZh255wV0zhGoQKyWkKdIB1/v7Gy1owP0E1wdaaK9K9Aj8isK LFLqWdUy2CF8DK9qwlFP7iHuOluZ6d0XOnDJw= Received: by 10.150.57.17 with SMTP id f17mr4014926yba.191.1229639897588; Thu, 18 Dec 2008 14:38:17 -0800 (PST) Received: by 10.150.204.18 with HTTP; Thu, 18 Dec 2008 14:38:17 -0800 (PST) Message-ID: <1404e5910812181438k7472fd8ew6e2d29d523319066@mail.gmail.com> Date: Thu, 18 Dec 2008 17:38:17 -0500 From: "Eric Covener" To: users@httpd.apache.org Subject: Re: How to use ErrorDocument Directive when Apache is configured as pure reverse proxy. In-Reply-To: <6368e94c0812181404y14183350w8c7c0a01c2ecd248@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6368e94c0812181404y14183350w8c7c0a01c2ecd248@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Dec 18, 2008 at 5:04 PM, Mark Stevens wrote: > Hi all, > > Anyone had any luck with serving custom error documents when Apache is > configured as a reverse proxy? I do not have a DocumentRoot, just Rewrite > and ProxyPass back to application server? > > When the back end is overloaded, Apache generates it's generic 503 Page, I > need to change this default Apache 503 page to a custom 503, this will need > to come from Apache flat file not the back end server. > > I have tried adding a DocumentRoot and exclusion RewriteCond, but mod proxy > and Apache seem to be intercepting the request and trying to serve it from > the back end server that is being reverse proxied. Use the form of ErrorDocument that just specified a string, or a fully qualified URL to redirect to another server or vhost (that doesn't proxy). -- Eric Covener covener@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org