Created
May 5, 2016 21:51
Revisions
-
christierney402 created this gist
May 5, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="api" stopProcessing="true"> <match url="^API/(.+.*)$" ignoreCase="true" /> <conditions> <add input="{PATH_INFO}" pattern="^.*/index.cfm.*$" negate="true" /> </conditions> <action type="Rewrite" url="API/index.cfm?endpoint=/{R:1}" appendQueryString="true" logRewrittenUrl="true" /> </rule> </rules> </rewrite> <httpErrors existingResponse="PassThrough" /> </system.webServer> </configuration>