forked from cfwheels/cfwheels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
27 lines (25 loc) · 1.16 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<!--
You need the Rewrite Module for IIS 7 (http://www.iis.net/download/URLRewrite) installed before enabling URL rewriting.
Uncomment the "rewrite" section below and restart IIS/CF to enable URL rewriting.
You can add your own files and folders that should be excluded from URL rewriting by adding them to the "pattern".
This file can be deleted if you're not planning on using URL rewriting with IIS 7.
Please read the online documentation on http://cfwheels.org for more information.
-->
<configuration>
<system.webServer>
<!--
<rewrite>
<rules>
<rule name="ColdFusion on Wheels URL Rewriting" enabled="true">
<match url="^(.*)$" ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{SCRIPT_NAME}" negate="true" pattern="^/(flex2gateway|jrunscripts|cfide|CFFileServlet|cfformgateway|railo-context|files|images|javascripts|miscellaneous|stylesheets|robots.txt|favicon.ico|sitemap.xml|rewrite.cfm)($|/.*$)" />
</conditions>
<action type="Rewrite" url="/rewrite.cfm/{R:1}" />
</rule>
</rules>
</rewrite>
-->
</system.webServer>
</configuration>