forked from skiddle-archives/klasemate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWeb.config
More file actions
24 lines (24 loc) · 922 Bytes
/
Web.config
File metadata and controls
24 lines (24 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<rule name="rule 1C" stopProcessing="true">
<match url="^(admin|install)($|/)" />
<action type="Rewrite" url="/-" />
</rule>
<rule name="rule 2C">
<match url="^(logout)$" />
<action type="Rewrite" url="/index.php?c=login&act=logout" />
</rule>
<rule name="rule 3C">
<match url="^([a-zA-Z0-9_-]+)$" />
<action type="Rewrite" url="/index.php?c={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 4C">
<match url="^([a-zA-Z0-9_-]+)/([0-9]+)$" />
<action type="Rewrite" url="/index.php?c={R:1}&id={R:2}" appendQueryString="true" />
</rule>
<rule name="rule 5C">
<match url="^([a-zA-Z0-9_-]+)/([a-zA-Z_]+)$" />
<action type="Rewrite" url="/index.php?c={R:1}&act={R:2}" appendQueryString="true" />
</rule>
<rule name="rule 6C">
<match url="^([a-zA-Z0-9_-]+)/([a-zA-Z_]+)/([0-9]+)$" />
<action type="Rewrite" url="/index.php?c={R:1}&act={R:2}&id={R:3}" appendQueryString="true" />
</rule>