issue with proxy rewriting url when in tcp tunnel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
800.624.5999
www.Pace2020.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux