-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathweb.config
24 lines (24 loc) · 960 Bytes
/
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
<rule name="rule 1S" stopProcessing="true">
<match url="^(.+)" />
<action type="Rewrite" url="/-" />
</rule>
<rule name="rule 2S" stopProcessing="true">
<match url="^im\/(.+?)$" />
<action type="Rewrite" url="/./img/cmsimage.php?{R:1}" />
</rule>
<rule name="rule 3S" stopProcessing="true">
<match url="^dl\/([a-fA-Z0-9]+)\/(.*?)$" />
<action type="Rewrite" url="/./download.php?f={R:1}&%{QUERY_STRING}" />
</rule>
<rule name="rule 4S" stopProcessing="true">
<match url="^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$" />
<action type="Rewrite" url="/./index.php?id={R:1},{R:2},{R:3},{R:4},{R:5},{R:6}&%{QUERY_STRING}" />
</rule>
<rule name="rule 5S" stopProcessing="true">
<match url="^(.+)\.html$" />
<action type="Rewrite" url="/./index.php?{R:1}&%{QUERY_STRING}" />
</rule>
<rule name="rule 6S">
<match url="^(.+)/?$" />
<action type="Rewrite" url="/./index.php?{R:1}&%{QUERY_STRING}" />
</rule>