You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Peter Apian <ap...@ise.fhg.de> on 1998/12/04 12:59:35 UTC

mod_rewrite/3489: rewrite to intranet ignores No_Proxy directive

>Number:         3489
>Category:       mod_rewrite
>Synopsis:       rewrite to intranet ignores No_Proxy directive
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec  4 05:10:01 PST 1998
>Last-Modified:
>Originator:     apian@ise.fhg.de
>Organization:
apache
>Release:        1.3.3 UNIX
>Environment:
#uname -a
SunOS ise 5.6 Generic_105181-04 sun4u sparc SUNW,Ultra-1
# cc -V
cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
>Description:
Proxy conf on machine 'ise.ise.fhg.de' (gateway):
	ProxyRequests On
	ProxyRemote * http://fhg-freiburg-cache.ise.fhg.de:8080
	NoProxy .ise.fhg.de

rewriting defined in .htaccess for virtual host pab-opto.de on above machine:
	RewriteEngine on
	RewriteRule ^q$ http://tos76.ise.fhg.de:6544 [P]

(tos76 in on the intranet)

access to 'http://www.pab-opto.de/rw/q' triggers proxy request to 
'http://fhg-freiburg-cache.ise.fhg.de' , but should be served directly
from gateway to intranet. The cache machine is 'outside'. Same holds true
for remotes proxies outside the ise.fhg.de domain. 
Otherwise (non rewrite context) the NoProxy line seems to work ok.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]