123456789101112131415161718192021222324252627282930313233343536373839 |
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
- <system.webServer>
- <defaultDocument>
- <files>
- <clear />
- <add value="Default.htm" />
- <add value="Default.asp" />
- <add value="index.htm" />
- <add value="index.html" />
- <add value="iisstart.htm" />
- <add value="default.aspx" />
- <add value="index.php" />
- </files>
- </defaultDocument>
- <!--<httpProtocol>
- <customHeaders>
- <add name="Access-Control-Allow-Origin" value="http://localhost:8087" />
- <add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,OPTIONS" />
- <add name="Access-Control-Allow-Headers" value="X-DS-KEY,Content-Type,x-xsrf-token" />
- <add name="Access-Control-Allow-Credentials" value="true" />
- </customHeaders>
- </httpProtocol>-->
- <rewrite>
- <rules>
- <rule name="OrgPage" stopProcessing="true">
- <match url="^(.*)$" />
- <conditions logicalGrouping="MatchAll">
- <add input="{HTTP_HOST}" pattern="^(.*)$" />
- <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
- <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
- </conditions>
- <action type="Rewrite" url="index.php/{R:1}" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
|