Skip to content

Instantly share code, notes, and snippets.

@jzuijlek
Forked from Molnfront/urlrewrite.xml
Created May 28, 2014 22:15
Show Gist options
  • Save jzuijlek/b1f10a2f8f77f6fea264 to your computer and use it in GitHub Desktop.
Save jzuijlek/b1f10a2f8f77f6fea264 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN"
"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
<!--
Configuration file for UrlRewriteFilter
http://www.tuckey.org/urlrewrite/
-->
<urlrewrite>
<rule enabled="true">
<name>Generic Pretty URLs Pass-through</name>
<condition type="request-uri" operator="notequal">^/(index.cfm|robots.txt|osd.xml|flex2gateway|cfide|cfformgateway|railo-context|admin-context|files|images|jrunscripts|javascripts|miscellaneous|stylesheets|admin|css|js|default|tasks|admin/js)</condition>
<from>^/(.*)$</from>
<to type="passthrough">/index.cfm/$1</to>
</rule>
</urlrewrite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment