httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "congo thomas" <>
Subject Re: [users@httpd] Proxy Tomcat
Date Fri, 18 Nov 2011 22:34:21 GMT
Hello Ricardo,

What i usually do for geo services, is to have a dedicated vhost for each
service, i.e. one for your geowebcache and one for the mapservice, then
its easy to proxy all wms requests onwards to the geowebcache, which
subsequently could parse the requests to a basic wms service somewhere, in
order to cache the content.

If you rewrite these requests, i guess you could experience problems when
upgrading the gwc, or if your query string changes, or in other matters
where something suddenly behaves oddly. Not to mention confusing

Then your request could be wms.someAddress/?val1=1&val2=2, which you parse
to the gwc site (like your current proxypass), and
then you could setup that tomcat-site to host the gwc as the root i.e., will yield geo-content.

Is this at all any help to you? -since you might have to do some changes,
it could be useless for your specific setup.


On Fri, November 18, 2011 22:54, Ricardo Bayley wrote:
> 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
>    ProxyPassReverse /
>    ProxyPass /
>    RewriteEngine On
> # RewriteCond *some condition*
>    RewriteRule   ^/wms(.*)${QUERY_STRING} [P]
> If I write =>  RewriteRule   ^/wms(.*)$
> [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

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message