-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathweb.config
69 lines (66 loc) · 4.11 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
69
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{URL}" pattern="^(?:(?!/DI/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/DIF/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/Fsheet/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/POCD/CBG/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/Issues/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/libs/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/images/*).)*$" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="app/" />
</rule>
<rule name="Imported Rule 2">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{URL}" pattern="^(?:(?!/DI/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/DIF/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/Fsheet/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/POCD/CBG/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/Issues/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/libs/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/images/*).)*$" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="app/{R:1}" />
</rule>
<rule name="Imported Rule 3" enabled="true">
<match url="^app/(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="app/index.php?url={R:1}" appendQueryString="true" />
</rule>
<rule name="Imported Rule 4">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{URL}" pattern="^(?:(?!/DI/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/DIF/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/Fsheet/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/POCD/CBG/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/Issues/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/libs/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/images/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/js/*).)*$" ignoreCase="false" />
<add input="{URL}" pattern="^(?:(?!/coms.php/*).)*$" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
<handlers>
<remove name="PHP_via_FastCGI" />
<add name="PHP_via_FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" requireAccess="Script" />
</handlers>
<directoryBrowse enabled="false" />
</system.webServer>
</configuration>