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 having problem with this line
SetEnvIf REQUEST_URI ^(/app/dir/([^/]*)/(?!jsp))    no-jk

I want to use no-jk only when the request URI does not contain
/app/dir/*/jsp/ path. This works with ruby, but now working with apache
mod_jk. Is there a way to make negative expression work in mod_jk

And also I would like to add another expression 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 the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to