-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Web.Config
68 lines (68 loc) · 2.73 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="rule 1U" stopProcessing="true">
<match url="^index/?$" ignoreCase="true" />
<action type="Rewrite" url="/index.php" />
</rule>
<rule name="rule 2U" stopProcessing="true">
<match url="^exchange/?$" ignoreCase="true" />
<action type="Rewrite" url="/exchange.php" />
</rule>
<rule name="rule 3U" stopProcessing="true">
<match url="^exchange/([^/]+)/?$" />
<action type="Rewrite" url="/exchange.php?oid={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 4U" stopProcessing="true">
<match url="^exchange/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/exchange.php?oid={R:1}&uid={R:2}" appendQueryString="true" />
</rule>
<rule name="rule 5U" stopProcessing="true">
<match url="^onedrive/?$" ignoreCase="true" />
<action type="Rewrite" url="/onedrive.php" />
</rule>
<rule name="rule 6U" stopProcessing="true">
<match url="^onedrive/([^/]+)/?$" />
<action type="Rewrite" url="/onedrive.php?oid={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 7U" stopProcessing="true">
<match url="^onedrive/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/onedrive.php?oid={R:1}&uid={R:2}" appendQueryString="true" />
</rule>
<rule name="rule 8U" stopProcessing="true">
<match url="^sharepoint/?$" ignoreCase="true" />
<action type="Rewrite" url="/sharepoint.php" />
</rule>
<rule name="rule 9U" stopProcessing="true">
<match url="^sharepoint/([^/]+)/?$" />
<action type="Rewrite" url="/sharepoint.php?oid={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 10U" stopProcessing="true">
<match url="^sharepoint/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/sharepoint.php?oid={R:1}&sid={R:2}" appendQueryString="true" />
</rule>
<rule name="rule 11U" stopProcessing="true">
<match url="^sharepoint/([^/]+)/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/sharepoint.php?oid={R:1}&sid={R:2}&cid={R:3}" appendQueryString="true" />
</rule>
<rule name="rule 12U" stopProcessing="true">
<match url="^sharepoint/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/sharepoint.php?oid={R:1}&sid={R:2}&cid={R:3}&type={R:4}" appendQueryString="true" />
</rule>
<rule name="rule 13U" stopProcessing="true">
<match url="^teams/?$" ignoreCase="true" />
<action type="Rewrite" url="/teams.php" />
</rule>
<rule name="rule 14U" stopProcessing="true">
<match url="^teams/([^/]+)/?$" />
<action type="Rewrite" url="/teams.php?oid={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 15U" stopProcessing="true">
<match url="^teams/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/teams.php?oid={R:1}&tid={R:2}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>