On 10.04.2009 21:41, J Channel wrote: > Hi!Apache 2.2.11, mod_jk 1.2.28 > > httpd.conf: > LoadModule jk_module modules/mod_jk.so > JkOptions +ForwardURICompat > JkMount /app/* balancer > LoadModule rewrite_module modules/mod_rewrite.so > DocumentRoot /var/www/public_html > > .htaccess in docroot: > RewriteEngine On > RewriteCond %{QUERY_STRING} !dyn\=1 > RewriteRule ^app/ntd/give.* give.shtml/?%{QUERY_STRING} [L] > > I cant get worked this conf on apache 2.2.11, URI http://server/app/ntd* pass > to tomcat omitting RewriteRule. But its ok on apache1.3.33 + mod_jk1.2.14 > (even whitout JkOptions +ForwardURICompat, AFAIK its enable by default for > mod_jk <= 1.2.22).
It would be nice, if you would tell us, which URL you send, what you expect to happen, and what happens instead. General comments: - do not use any Forward JkOptions unless you are sure you need them and understand the implications. So I suggest you drop the respective line - if you want mod_jk to be called even when mod_rewrite interfered with the URL, you need to add the PT flag to the rule (OT=pass through), so switch from "[L]", to "[L,PT]". Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org