Hello,
I use Apache 2.0 and Tomcat 4.1.18 together to serve jsp pages and
servlets (using mod_jk). Everything seems to work fine except one thing.
When mod_rewrite try to apply a pattern matching over a location mounted
by JkMount, it fails because the URI used is only the filename
(excluding the path information). Example:
.conf :
--------
Alias /xxx "/opt/jakarta/tomcat/webapps/xxx"
JkMount /xxx/secure/*.jsp ajp13
JkMount /xxx/*.jsp ajp13
<Location "/xxx/">
#AllowOverride None
RewriteEngine on
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^.*/xxx/secure(.*)$ https://%{SERVER_NAME}/xxx/secure$1
[R,L]
</Location>
rewrite log :
--------------
[per-dir /xxx/] applying pattern '^.*/xxx/secure(.*)$' to uri 'page.jsp'
[per-dir /xxx/] pass through page.jsp
Rewrite works fine if I omit the JkMount directives.
Any help is welcome
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]