Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 75378 invoked by uid 500); 27 Jun 2003 16:01:12 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 75202 invoked from network); 27 Jun 2003 16:01:10 -0000 Received: from www.fastmail.fm (66.111.4.2) by daedalus.apache.org with SMTP; 27 Jun 2003 16:01:10 -0000 Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by localhost.localdomain (Postfix) with ESMTP id 9E3C035186 for ; Fri, 27 Jun 2003 12:01:11 -0400 (EDT) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by messagingengine.com with SMTP; Fri, 27 Jun 2003 12:01:11 -0400 X-Epoch: 1056729671 X-Sasl-enc: DU9quI14pkWzf+mX1IqaQA Received: from usager70-65.hec.ca (usager70-65.hec.ca [132.211.70.65]) by www.fastmail.fm (Postfix) with ESMTP id 6B21E2597D for ; Fri, 27 Jun 2003 12:01:10 -0400 (EDT) Date: Fri, 27 Jun 2003 12:01:12 -0400 (=?ISO-8859-1?Q?Est_=28heure_d'=E9t=E9=29?=) From: Joshua Slive To: users@httpd.apache.org In-Reply-To: <3EFC6BE8.1010307@ftsi.fujitsu.com> Message-ID: References: <3EFC6BE8.1010307@ftsi.fujitsu.com> X-X-Sender: slive@www.fastmail.fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Can't access HTML docs via ErrorDocument On Fri, 27 Jun 2003, m wrote: > Bad Gateway > > The proxy server received an invalid response from an upstream server. > > Additionally, a 502 Bad Gateway error was encountered while trying to > use an ErrorDocument to handle the request. > > I have set up a directory into which I placed my html documents. I have > set up an alias to point to this directory, and I then use the following > directive > > ErrorDocument 502 /fts_patch_errors/HTTP_BAD_GATEWAY.html You are probably using "ProxyPass / http://someothersite/" Now, when apache trys to read /fts_path_errors/..., it sees the ProxyPass and passes that request off to the other server. Obviously, that is not what you want when the other server is unreachable. You can probably solve your problem by adding the following: ProxyPass /fts_patch_errors ! which should disable proxying for that directory. See: http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypass Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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