httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry DuVal" <>
Subject [users@httpd] issue with proxy rewriting url when in tcp tunnel
Date Fri, 12 Jan 2007 18:15:32 GMT
I'm having a problem with mod_rewrite with a proxy. Everything works
perfect, except when I tunnel to this server localhost:80 to my local 8085,
when I access content via the browser http://localhost:8085/epace  apache is
rewriting the url to http://localhost/epace .  If I just go to
http://serverDNSname/epace  it is handled correctly. 

#Rewrite configuration
RewriteEngine On 

RewriteRule "^/epace/(.*)\$" "http://localhost:8080/epace/\$1" [P]
RewriteRule "^/epace\$" "http://localhost:8080/epace" [P]

# Handle re-writing of data coming back out
ProxyPassReverse / http://localhost:8080/ 

Version: Apache 1.3.33-6
OS: Debian Sarge 

Thanks in advance.

Jerry DuVal
Pace Systems Group, Inc.

View raw message