httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: [users@httpd] mod_rewrite vs. mod_jk
Date Sun, 10 May 2015 10:06:50 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message