> 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
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?
---
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
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
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
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
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
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
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
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
10 matches
Mail list logo