Re: [us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread André Warnier
André Warnier wrote: (*) For example, could I spare the and ProxyPass entirely, and use a RewriteRule to forward this directy to the ajp port, a bit like : RewriteRule ^/(xyz/.*/servlet\.[^\.]+)$ ajp://localhost:8009/$1 [PT] ? Replying to my own post here. Sorry, I went back to the doc, a

Re: [us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread André Warnier
Eric Covener wrote: On Thu, Jan 1, 2009 at 7:47 AM, André Warnier wrote: RewriteCond %{REQUEST_URI} !/servlet\.[^\.]+$ RewriteRule ^/xyz/(.*)$ /$1 [PT] ProxyPass ajp://localhost:8009 File "/srv/www/star1/docs/xyz/" not found. Are there any other rewrites that actually apply to the servl

Re: [us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread Eric Covener
On Thu, Jan 1, 2009 at 7:47 AM, André Warnier wrote: > RewriteCond %{REQUEST_URI} !/servlet\.[^\.]+$ > RewriteRule ^/xyz/(.*)$ /$1 [PT] > > ProxyPass ajp://localhost:8009 > >File "/srv/www/star1/docs/xyz/" not found. Are there any other rewrites that actually apply to the servlet and don't us

[us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread André Warnier
Hi. I am running into trouble when trying to change the configuration of an existing Apache2.2.3/Tomcat5.0 combination (on the same host), and replacing the current mod_jk connector by mod_proxy_ajp. I have never used mod_proxy before. This is the original configuration which works, using mo