Created
August 23, 2011 00:35
-
-
Save randy-johnson/1164013 to your computer and use it in GitHub Desktop.
ProxyPass / Railo / Tomcat URL Rewriting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProxyPreserveHost On | |
ProxyPass /dealers/ ! | |
ProxyPass / ajp://localhost:8009/ | |
ProxyPassReverse / ajp://localhost:8009/ | |
RewriteEngine On | |
ProxyRequests Off | |
RewriteCond %{REQUEST_URI} !^.*/(fancybox|flex2gateway|jrunscripts|cfide|cfformgateway|railo-context|files|images|javascripts|miscellaneous|stylesheets|robots.txt|sitemap.xml|rewrite.cfm|index.cfm|favicon.ico|ckfinder|ckeditor|assets|product-images|store|dealers)($|/.*$) [NC] | |
RewriteRule "^/(.*)" ajp://localhost:8009/rewrite.cfm/$1 [P,QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment