Received: by taz.hyperreal.com (8.8.4/V2.0) id KAA17641; Tue, 11 Mar 1997 10:00:37 -0800 (PST) Received: from luers.qosina.com by taz.hyperreal.com (8.8.4/V2.0) with ESMTP id KAA17603; Tue, 11 Mar 1997 10:00:31 -0800 (PST) Received: (from awm@localhost) by luers.qosina.com (8.8.5/8.8.5) id NAA04793 for new-httpd@hyperreal.com; Tue, 11 Mar 1997 13:00:16 -0500 From: Aram Mirzadeh Message-Id: <199703111800.NAA04793@luers.qosina.com> Subject: [BUG]: "Problem with ErrorDocument + proxy when referring to a local URL that uses other local URL to handle the error. " on LiRO (fwd) To: new-httpd@hyperreal.com (apache Group) Date: Tue, 11 Mar 1997 13:00:15 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com This seems to be a feature... I have no idea why he's trying to do this, but it seem to be a valid point. burgard@vitrage.saint-gobain.fr said: > From nobody@hyperreal.com Tue Mar 11 11:38:29 1997 > Message-Id: <199703111638.IAA19984@taz.hyperreal.com> > From: burgard@vitrage.saint-gobain.fr > To: awm@qosina.com > Date: Tue Mar 11 8:38:39 1997 > Subject: [BUG]: "Problem with ErrorDocument + proxy when referring to a local URL that uses other local URL to handle the error. " on Linux > > Submitter: burgard@vitrage.saint-gobain.fr > Operating system: Linux, version: > Version of Apache Used: 1.2b7 > Extra Modules used: Server Settings, mod_proxy, mod_auth_anon, mod_info, mod_status, mod_rewrite, mod_browser, mod_actions, mod_imap, mod_asis, mod_log_config, mod_env, mod_alias, mod_userdir, mod_cgi, mod_dir, mod_include, mod_negotiation, mod_auth, mod_access, mod_mime, http_core > URL exhibiting problem: > > Symptoms: > -- > Problem with ErrorDocument + proxy when referring to a local URL that uses > other local URL to handle the error. > > I tried to use the directive to deny proxy access to a host(tioman): > > > order allow,deny > allow from all > deny from tioman > ErrorDocument 403 /reject.html > > > I created a reject.html with the following contents: > > Reject > > You don't have access to this server! > > > When I connect to www.netscape.com for example from tioman. > I get the access denied page without the devil.gif and in my error_log there > is an entry: > > [Tue Mar 11 16:52:49 1997] access to proxy:http://www.netscape.com/devil.gif > ^^^^^^^^^^^^^^^^^^^^^^^ > failed for tioman, reason: Client denied by server configuration > > The server used the address of the page I accessed (http://www.netscape.com) > and not the address of my proxy server (http://proxy) to build the URL of > the devil.gif file (http://proxy/devil.gif) > > If I write the server looks for > the devil.gif at the right location and not at http://www.netscape.com/devil.gif! > > > > -- > > Backtrace: > -- > > -- > -- /* * Aram Mirzadeh, MIS Manager, Qosina Corp. http://www.qosina.com/~awm/ * Apache Development Team, awm@hyperreal.com http://www.hyperreal.com/ * PGP Key - http://www.qosina.com/~awm/pgpkey.html * BE 49 9D F6 2A A7 22 FC 02 E9 1E 3D F7 0C 67 A0 * * I haven't lost my mind -- it's backed up on tape somewhere. */