Re: [EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-03 Thread dfelicia
Got it working. Here's how I did it: Options FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all Alias /bar "/foo/bar" RewriteEngine On RewriteRule ^/bar/(.*)\.jsp$ ajp://127.0.0.1:45002/bar/$1.jsp [P] RewriteRule ^/bar/(.*)\.jsv$ ajp://127.0.0.1:4500

Re: [EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-03 Thread dfelicia
When I try to insert a ProxyPass directive inside a LocationMatch, Apache fails to start - syntax error. I'm really hoping for an example, here. I'm wading through the doc, but am not coming up with a solution. -- View this message in context: http://www.nabble.com/mod_proxy_ajp---static-conte

Re: [EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-03 Thread Nick Kew
On Thursday 03 August 2006 00:14, dfelicia wrote: > http://myserver/myapp/my.jsp -> route to Tomcat > http://myserver/myapp/my.gif -> serve via Apache > > This is quite easy to accomplish using mod_jk, but Apache 2.2 seems to > prefer mod_proxy_ajp. Look up in TFM. This looks like something tha

[EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-02 Thread dfelicia
I've seen a few posts re: this topic, but don't quite get the solution... I'm trying to use mod_proxy_ajp to pass only dynamic content to the servlet engine (*.jsp), while allowing Apache to serve static content. the catch, of course, is that the URL has to be the same for both. So, http://mys