On 10.04.2009 23:24, J Channel wrote:
> 2009/4/11 Rainer Jung <rainer.j...@kippdata.de>
>> 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.
>>
> 
> Now all URL under app/* just pass out to tomcat.
> I expect redirection to give.shtml by RewriteRule as it works in
> apache1.3 with same configuration.
> 
>> 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
> 
> Ok, drop it, no changes.
> 
>> - 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]".
> 
> I have no problem with pass through, i have problem with ignoring my
> rewrite directives under /app/*

So we are back to:

>> It would be nice, if you would tell us, which URL you send, what you
>> expect to happen, and what happens instead.

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

Reply via email to