本帖最后由 365站群教程 于 2021-7-9 10:52 编辑
365建站:Windows版宝塔 IIS环境 伪静态规则:- <rule name="Rewrite Rule 0">
- <match url="^((?!zzadmin|phpmyadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots|favicon).*)/$" />
- <action type="Rewrite" url="plus/list.php\?typestr={R:1}" />
- </rule>
- <rule name="Rewrite Rule 1">
- <match url="^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/class-([0-9]+)-([0-9]+).html" />
- <action type="Rewrite" url="plus/list.php\?classid={R:2}&PageNo={R:3}&typestr={R:1}" />
- </rule>
- <rule name="Rewrite Rule 2">
- <match url="^([\-_A-Za-z0-9]+)$" />
- <action type="Rewrite" url="{R:1}" />
- </rule>
- <rule name="Rewrite Rule 3">
- <match url="^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)([_/]+)([A-Za-z0-9]+).html" />
- <action type="Rewrite" url="plus/show.php\?aid={R:3}&typestr={R:1}" />
- </rule>
- <rule name="Rewrite Rule 4">
- <match url="^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/list-([0-9]+)-([0-9]+).html$" />
- <action type="Rewrite" url="plus/list.php\?tid={R:2}&PageNo={R:3}&typestr={R:1}" />
- </rule>
- <rule name="Rewrite Rule 5">
- <match url="^list-([0-9]+)-([0-9]+).html$" />
- <action type="Rewrite" url="plus/list.php\?tid={R:1}&PageNo={R:2}" />
- </rule>
- <rule name="Rewrite Rule 6">
- <match url="^plus/ad_js.php(.*)$" />
- <action type="Rewrite" url="plus/api.php{R:1}" />
- </rule>
- <rule name="Rewrite Rule 7">
- <match url="^templets/(.*)article.htm([?_A-Za-z0-9]+)$" />
- <action type="Rewrite" url="plus/404.html" />
- </rule>
- <rule name="Rewrite Rule 8">
- <match url="^(.*)/data/(.*).php$" />
- <action type="Rewrite" url="plus/404.html" />
- </rule>
- <rule name="Rewrite Rule 9">
- <match url="^(.*)/include/([_\-A-Za-z0-9]+).php([?_A-Za-z0-9]+)$" />
- <action type="Rewrite" url="plus/404.html" />
- </rule>
- <rule name="Rewrite Rule 10">
- <match url="^topic_([0-9]+)([\/]*)$" />
- <action type="Rewrite" url="plus/show.php\?aid={R:1}&typestr=topic_" />
- </rule>
- <rule name="Rewrite Rule 11">
- <match url="^templets/([_\-A-Za-z0-9]+)/style/([_\-A-Za-z0-9]+).css(.*)$" />
- <action type="Rewrite" url="plus/style.php\?dir={R:1}&filename={R:2}" />
- </rule>
- <rule name="Rewrite Rule 12">
- <match url="^(sitemap\.xml|sitemap\.html)$" />
- <action type="Rewrite" url="plus/list.php\?typestr={R:1}" />
- </rule>
复制代码 |
|