RE: Proxy Tomcat

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

 



Hi 

 

Why not have

 

   ProxyPassReverse / http://10.0.0.2:8080/gwc/service/

   ProxyPass / http://10.0.0.2:8080/gwc/service/

 

Alex

 

From: Ricardo Bayley [mailto:ricardo.bayley@xxxxxxxxx]
Sent: Saturday, 19 November 2011 8:54 AM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] Proxy Tomcat

 

Hi folks,

 

I am trying to proxy a request.

I have this input

 

it should be turned into

 

   ProxyPassReverse / http://10.0.0.2:8080/

   ProxyPass / http://10.0.0.2:8080/

   RewriteEngine On

# RewriteCond some condition

   RewriteRule   ^/wms(.*)$   http://10.0.0.2:8080/wms%{QUERY_STRING} [P]

 

 

If I write =>  RewriteRule   ^/wms(.*)$   http://10.0.0.2:8080/wms?%{QUERY_STRING} [P]

then %{QUERY_STRING} wont be placed.

But if I don't place the "?" then I am not properly forming the request.

 

 

Can anyone help ?

 

 

best regards,

 

 

Ricardo


[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