Re: mod_rewrite vs. mod_jk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 06.05.2015 um 11:16 schrieb Hajo Locke:
Hello,

i have a small mod_jk.conf and want to use mod_rewrite also:

JkMount /* ajp13
JkUnmount /test/* ajp13
RewriteEngine On
RewriteRule ^/$ /java_app/ [L]

Rewriting by mod_rewrite only works with urls which are unmounted by
JkUnmount. So above Rule is not working because its immediately passed
to the java-worker.
Ist there a way to change this behaviour, so all mod_rewrite is done at
first and passing to java-worker follows last.
Or is unmounting mandatory for this?

Have a look at

http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html#URL%20Handling

Questions about mod_jk more likely get answered on the Apache Tomcat users list, because mod_jk is developed as part of the Tomcat project.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux