httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Hunt (Straker Software)" <>
Subject [users@httpd] Apache Rewrite and JkMount
Date Mon, 26 Apr 2010 12:28:01 GMT

I have the following Rewrite config, to pass requests through Apache to
Tomcat using AJP:

RewriteEngine on
RewriteRule ^/abc - [L,PT]
RewriteRule (.*) /abc$1 [L,PT]

JkMount /abc/* node1

This works, to the point that requests to http://sitename/ are rewritten to
http://sitename/abc ... and the JkMount directive finds a match, and passes
the request off to a worker.

However, I need JkMount to preserve the rewritten URI and it doesn't appear
to be doing that.

A request to http://sitename/ gets rewritten to http://sitename/abc ... but,
goes to the worker as http://sitename/

Does anyone know how I can preserve the rewritten URI when passing to the


Philip Hunt
System Administrator
Straker Software
phone: +64 28 899 4802

View raw message