Re: Apache mod_jk SetEnvIf negative look ahead not working

2009-06-23 Thread Rainer Jung
Hi, On 22.06.2009 06:10, as2 wrote: Hi, I am trying to add a rule .. some thing like this LocationMatch /app/ SetHandler jakarta-servlet SetEnvIf REQUEST_URI \.(jsp|htm?)$ JK_WORKER_NAME=default SetEnvIf REQUEST_URI ^(/app/dir/([^/]*)/(?!jsp)) no-jk /LocationMatch I am

Re: Apache mod_jk SetEnvIf negative look ahead not working

2009-06-22 Thread André Warnier
as2 wrote: Hi, I am trying to add a rule .. Try this : # First, all URLs that start with /app/ and end in either .jsp, .htm # or .html are forwarded to Tomcat LocationMatch ^/app/.+\.(jsp|html?)$ SetHandler jakarta-servlet /LocationMatch # But, we don't want that if it's inside of

Apache mod_jk SetEnvIf negative look ahead not working

2009-06-21 Thread as2
that checks if the folder (that does not contain /jsp/ folder) contains file with jsp extenstion so that use JK_WORKER_NAME=$1 instead of no-jk Thanks -- View this message in context: http://www.nabble.com/Apache-mod_jk--SetEnvIf-negative-look-ahead-not-working-tp24141543p24141543.html Sent from