Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
> RewriteRule ^myapp/some(.*)  script.shtml%{QUERY_STRING} [L] > # Line above will be ignored > JkMount /myapp/* balancer > > May be this is just a bug? > So, i found that its work only if condition begins with / RewriteRule ^/myapp/some?(.*) /script.shtml?%{QUERY_STRING} [L,PT] Other conditions

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
Hi, Rainer! Thx for you answer, its look like good solution, but anyway ignoring line BEFORE JkMount - a bit stupid behavior. RewriteRule ^myapp/some(.*) script.shtml%{QUERY_STRING} [L] # Line above will be ignored JkMount /myapp/* balancer May be this is just a bug? ---

Re: RewriteRule inside JkMount location

2009-04-11 Thread Rainer Jung
Only one little addition below: On 11.04.2009 14:19, André Warnier wrote: > J Channel wrote: > [...] > > Hi. > Let me jump in here for a while. > > First, I think it would be clearer (and certainly more efficient), to > move your Rewrite rules away from a .htaccess file in docroot, and just > pu

Re: RewriteRule inside JkMount location

2009-04-11 Thread André Warnier
J Channel wrote: [...] Hi. Let me jump in here for a while. First, I think it would be clearer (and certainly more efficient), to move your Rewrite rules away from a .htaccess file in docroot, and just put them in your main Apache configuration files. (I suppose that if you have access to the

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
I found that its work ok with httpd.conf like this: ... JkMount /app/* balancer JkUnMount /app/ntd/* balancer ... But this is not very well cause i need to add many exception pathes like this to httpd.conf :( I just need to have mod_rewrite directives with more priority than JkMount. Just like in

Re: RewriteRule inside JkMount location

2009-04-10 Thread J Channel
2009/4/11 Rainer Jung : > On 10.04.2009 23:24, J Channel wrote: >> 2009/4/11 Rainer Jung >>> 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

Re: RewriteRule inside JkMount location

2009-04-10 Thread Rainer Jung
On 10.04.2009 23:24, J Channel wrote: > 2009/4/11 Rainer Jung >> 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 modu

Re: RewriteRule inside JkMount location

2009-04-10 Thread J Channel
2009/4/11 Rainer Jung > > 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 /va

Re: RewriteRule inside JkMount location

2009-04-10 Thread Rainer Jung
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 docroo

RewriteRule inside JkMount location

2009-04-10 Thread J Channel
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 Re