Hi Alex, and Congo, I dont see how to concat the Proxy
http://10.0.0.2/etcwith the "?"

Congo, I do have a vhost for every geo service. What I am trying to do is
to Proxy request using apache. This way I dont have to have all tomcats in
the open. But as you can see, I am failing to do so. :(

So do you have a sample on how to do it ?


regards to both,


Ricardo




2011/11/19 Alex Samad - Yieldbroker <alex.sa...@yieldbroker.com>

>  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.bay...@gmail.com]
> *Sent:* Saturday, 19 November 2011 8:54 AM
> *To:* users@httpd.apache.org
> *Subject:* [users@httpd] Proxy Tomcat****
>
> ** **
>
> Hi folks,****
>
> ** **
>
> I am trying to proxy a request.****
>
> I have this input****
>
>  http://someAddress/wms?val1=1&val2=2****
>
>  ** **
>
> it should be turned into****
>
>  http://10.0.0.2:8080/gwc/service/wms?val1=1&val2=2****
>
>  ** **
>
>    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****
>

Reply via email to