httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aram Mirzadeh <...@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)
Date Tue, 11 Mar 1997 18:00:15 GMT

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. 

<Aram>


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 <Location> directive to deny proxy access to a host(tioman):
> 
> <Location http://>
>   order allow,deny
>   allow from all
>   deny from tioman
>   ErrorDocument 403 /reject.html
> </Location>
> 
> I created a reject.html  with the following contents:
> 
> <TITLE>Reject</TITLE>
> <img src=devil.gif align=middle>
> 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 <img src=http://proxy/devil.gif align=middle> 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.
 */

Mime
View raw message