tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Channel <jchann...@gmail.com>
Subject Re: RewriteRule inside JkMount location
Date Sat, 11 Apr 2009 06:58:44 GMT
2009/4/11 Rainer Jung <rainer.jung@kippdata.de>:
> On 10.04.2009 23:24, J Channel wrote:
>> 2009/4/11 Rainer Jung <rainer.jung@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.

I send URL http://testsite.net/app/ntd/give?someparams=value
And i give a tomcat page "Sorry, we have no such page" instead of my
http://testsite.net/give.shtml?someparams=value page.

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


Mime
View raw message