930
|
1 |
<!-- Enano CMS - IIS7 Rewrite support -->
|
|
2 |
|
|
3 |
<configuration>
|
|
4 |
<configSections>
|
|
5 |
<sectionGroup name="rewriteRules">
|
|
6 |
<section name="rules" overrideModeDefault="Allow" />
|
|
7 |
</sectionGroup>
|
|
8 |
</configSections>
|
|
9 |
<system.webServer>
|
|
10 |
<rewrite>
|
|
11 |
<rules>
|
|
12 |
<!-- Main rule - short and sweet-->
|
|
13 |
<rule name="Enano rewritten URLs" stopProcessing="true">
|
|
14 |
<match url="(.*)" ignoreCase="false" />
|
|
15 |
<conditions>
|
|
16 |
<!-- Don't rewrite if the user requested a real directory or file-->
|
|
17 |
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
|
|
18 |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
|
|
19 |
</conditions>
|
|
20 |
<action type="Rewrite" url="index.php?title={R:1}" appendQueryString="true" />
|
|
21 |
</rule>
|
|
22 |
</rules>
|
|
23 |
</rewrite>
|
|
24 |
</system.webServer>
|
|
25 |
</configuration>
|
|
26 |
|