forked from wheels-dev/wheels
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.config
More file actions
27 lines (25 loc) · 1.14 KB
/
web.config
File metadata and controls
27 lines (25 loc) · 1.14 KB
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"?>
<!--
This file can be deleted if you're not planning on using URL rewriting with IIS 7.
You need the Rewrite Module for IIS 7 (http://www.iis.net/download/URLRewrite) installed before enabling URL rewriting.
You can add your own files and folders that should be excluded from URL rewriting by adding them to the "pattern".
Uncomment the "rewrite" section below and restart IIS/CF to enable URL rewriting.
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|lucee|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>