You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rolf Fokkens <fo...@vertis.nl> on 1997/03/26 16:10:01 UTC

mod_proxy/260: Mod_Proxy passes original URLs, never rewritten URLs

>Number:         260
>Category:       mod_proxy
>Synopsis:       Mod_Proxy passes original URLs, never rewritten URLs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 26 07:10:01 1997
>Originator:     fokkensr@vertis.nl
>Organization:
apache
>Release:        1.2b7
>Environment:
Linux 1.2.10, gcc 2.7.x
>Description:
The following

ProxyRequest On
ProxyRemote * http:145.66.48.162
ProxyPass /telegraaf/ proxy:http://www.telegraaf.nl/

always passes /telegraaf/ to proxy 145.66.48.162 as /telegraaf/, while it should
pass: http://www.telegraaf.nl/

The same holds for the following config:

RewriteEngine on
RewriteLog logs/rewrite_log
RewriteLogLevel 3
RewriteRole ^\/telegraaf\/(.*) http://www.telegraaf.nl/ [proxy]

The file rewrite_log shows great output:

...rewrite /telegraaf/ -> proxy:http://www.telegraaf.nl
...go-ahead with proxy request proxy:http://www.telegreef.nl/ [OK]

Yet, the proxy is asked for /telegraaf/ again.
>How-To-Repeat:
As shown
>Fix:

>Audit-Trail:
>Unformatted: