本帖最后由 365站群教程 于 2022-12-31 21:51 编辑
新版365建站器12.0请用
- <?xml version="1.0" ?>
- <rules>
- <rule name="Rewrite Rule 0_rewrite">
- <match url="^((?!zzadmin|templates|uploads|data|images|index|install|source|plugins|favicon).*)$"/>
- <action type="Rewrite" url="index.php\?action={R:1}"/>
- </rule>
- <rule name="Rewrite Rule 1_rewrite">
- <match url="^(templates/.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$"/>
- <action type="Rewrite" url="index.php\?action={R:1}"/>
- </rule>
- <rule name="Rewrite Rule 2_rewrite">
- <match url="^(data|images|templates|uploads)/(.*)\.php(.*)$"/>
- <action type="Rewrite" url="index.php\?ext=php&action={R:1}"/>
- </rule>
- </rules>
复制代码
以下为11.4旧版本,未来将移除
- <rule name="Rewrite Rule 0">
- <match url="^((?!zzadmin|templets|uploads|data|images|index|install|source|plugins|favicon).*)$" />
- <action type="Rewrite" url="index.php\?action={R:1}" />
- </rule>
- <rule name="Rewrite Rule 1">
- <match url="^(templets/.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$" />
- <action type="Rewrite" url="index.php\?action={R:1}" />
- </rule>
- <rule name="Rewrite Rule 2">
- <match url="^(data|images|templets|uploads)/(.*)\.php(.*)$" />
- <action type="Rewrite" url="index.php\?ext=php&action={R:1}" />
- </rule>
复制代码
|
|