-
Notifications
You must be signed in to change notification settings - Fork 6
/
web.config
22 lines (22 loc) · 1.09 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
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="static_minify" enabled="true" stopProcessing="true">
<match url="^static/(?:js|css)/(.+\.[^.]+)" ignoreCase="false" />
<action type="Rewrite" url="/index.php?m=default&c=minify%2fshow&a=index&g={R:1}" appendQueryString="true" />
</rule>
<rule name="yaf_index" enabled="true" stopProcessing="true">
<match url="^.+$" ignoreCase="true" />
<action type="Rewrite" url="/index.php?m=default&c={R:0}&a=index" />
<conditions>
<add input="{URL}" pattern="^/(?:crossdomain\.xml|favicon\.ico|xhprof_httml/.*|static/.*|robots\.txt|index\.php/.*)$" negate="true" />
</conditions>
<serverVariables>
</serverVariables>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>