You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.6 KiB

2 years ago
<?xml version="1.0" encoding="UTF-8"?>
2 years ago
<!--iis服务器伪静态配置文件,使用时将文件名改为web.config并复制到蓝天采集器根目录-->
2 years ago
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="SkycaijiApp" stopProcessing="true">
<match url="^app/(\w+)/(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="app/{R:1}/index.php/{R:2}" appendQueryString="true" />
</rule>
2 years ago
<rule name="SkycaijiRoot" stopProcessing="true">
2 years ago
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>