[users@httpd] Technical question about a piece of code in Pro Apache book: rewrite maps

2011-11-19 Thread rota regi
Page 293 , the author gives an example of nestling rewrite maps 1)RewriteMap giftojpg txt:/usr/local/apache/rewritemaps/gif_to_jpg.map 2)RewriteMap jpgtopng txt:/usr/local/apache/rewritemaps/jpg_to_png.map 3)RewriteRule ^(.*)/([^/]+)\.gif $1/${jpgtopng:${giftojpg:$2|$2}|$2}.jpg Should the line 3

RE: [users@httpd] Proxy Tomcat

2011-11-19 Thread Alex Samad - Yieldbroker
Hi Sorry the last line should have read http://reverseproxy:8080/somepage.cgi?somearguments this is all I am doing on my reverse proxy client -> apache -> tomcat apache and tomcat are on the same box (I have another setup were tomcat isn’t). one thing I do do is keep the pathing the same. But

[users@httpd] Configuring apache to send http headers and data in two tcp ip packets

2011-11-19 Thread x y
Hello there. Please How can i configure my apache-httpd server to always send http headers and data in two tcp ip packets - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/use

Re: [users@httpd] Proxy Tomcat

2011-11-19 Thread Ricardo Bayley
Hi Alex, No, I want is this. request => http://server01/wms?somearguments converts => http:// server02:8080/gwc/wms?somearguments This should be proxied, not redirected. If I do what u mention, dont know why arguments are not sent. I guess you are not Rewriting anything. regards, ricardo

RE: [users@httpd] Proxy Tomcat

2011-11-19 Thread Alex Samad - Yieldbroker
Hi My understanding is that if you have ProxyPassReverse / http://10.0.0.2:8080/gwc/service/ ProxyPass / http://10.0.0.2:8080/gwc/service/ And you make a request for http://reverseproxy/somepage.cgi?somearguments it converts its into http://reverseproxy/gwc/service/somepage.cgi?someargum

Re: [users@httpd] Proxy Tomcat

2011-11-19 Thread Ricardo Bayley
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

RE: [users@httpd] Proxy Tomcat

2011-11-19 Thread Alex Samad - Yieldbroker
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,