123456789101112131415161718192021222324 |
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
- <system.webServer>
- <rewrite>
- <rules>
- <rule name="index">
- <match url="^((?!(api)).)*$" />
- <conditions>
- <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
- </conditions>
- <action type="Rewrite" url="/index.html" />
- </rule>
- <rule name="api" patternSyntax="Wildcard">
- <match url="*api/*" />
- <action type="Rewrite" url="http://m.gaoyuan.com.cn:8015/api/{R:2}" />
- </rule>
- <rule name="uploadimg" patternSyntax="Wildcard">
- <match url="*uploadimg/*" />
- <action type="Rewrite" url="http://m.gaoyuan.com.cn:8015/uploadimg/{R:2}" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
|