Hello, I have Apache 2.4 in front of Tomcat 6 hosting sites developed with Autonomy.
I'm using Apache to proxy ajp as well as rewrite in my vhost config the following ways... RewriteEngine on RewriteRule ^/main/(.*) /$1 [L,R=301] RewriteRule ^/html/main/(.*) /$1 [L,R=301] RewriteRule ^/$ /default.page [L,R=301] RewriteRule ^/folderx/$ /folderx/index.html [L,R=301] ProxyPreserveHost On ProxyPass /folderx/ ajp://127.0.0.1:9009/html/main/folderx/ ProxyPass /main-resources/ ajp://127.0.0.1:9009/main-resources/ ProxyPass /main-assets/ ajp://127.0.0.1:9009/main-assets/ ProxyPass / ajp://127.0.0.1:9009/main/ Everything is working as desired, but now I'm trying to introduce page type rewrites with exceptions to the main rule. Meaning... 1 - all requests for .html?$, .aspx?$, etc, should be rewritten as $1.page 2 - exclude /folderx/(.*)\.html?$ from rule 1 Any guidance and/or critiques to what I have so far would be appreciated. Thanks.