请选择 进入手机版 | 继续访问电脑版
用户
 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
365建站器v10隆重发布,全新的界面,全新的体验,全新的功能,您值得佣有! 立即查看
查看: 223|回复: 0

365建站:Windows版宝塔 IIS环境 伪静态规则

[复制链接]
发表于 2021-7-1 14:05:14 | 显示全部楼层 |阅读模式
本帖最后由 365站群教程 于 2021-7-9 10:52 编辑

365建站:Windows版宝塔 IIS环境 伪静态规则:
  1. <rule name="Rewrite Rule 0">
  2.         <match url="^((?!zzadmin|phpmyadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots|favicon).*)/$" />
  3.         <action type="Rewrite" url="plus/list.php\?typestr={R:1}" />
  4. </rule>
  5. <rule name="Rewrite Rule 1">
  6.         <match url="^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/class-([0-9]+)-([0-9]+).html" />
  7.         <action type="Rewrite" url="plus/list.php\?classid={R:2}&amp;PageNo={R:3}&amp;typestr={R:1}" />
  8. </rule>
  9. <rule name="Rewrite Rule 2">
  10.         <match url="^([\-_A-Za-z0-9]+)$" />
  11.         <action type="Rewrite" url="{R:1}" />
  12. </rule>
  13. <rule name="Rewrite Rule 3">
  14.         <match url="^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)([_/]+)([A-Za-z0-9]+).html" />
  15.         <action type="Rewrite" url="plus/show.php\?aid={R:3}&amp;typestr={R:1}" />
  16. </rule>
  17. <rule name="Rewrite Rule 4">
  18.         <match url="^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/list-([0-9]+)-([0-9]+).html$" />
  19.         <action type="Rewrite" url="plus/list.php\?tid={R:2}&amp;PageNo={R:3}&amp;typestr={R:1}" />
  20. </rule>
  21. <rule name="Rewrite Rule 5">
  22.         <match url="^list-([0-9]+)-([0-9]+).html$" />
  23.         <action type="Rewrite" url="plus/list.php\?tid={R:1}&amp;PageNo={R:2}" />
  24. </rule>
  25. <rule name="Rewrite Rule 6">
  26.         <match url="^plus/ad_js.php(.*)$" />
  27.         <action type="Rewrite" url="plus/api.php{R:1}" />
  28. </rule>
  29. <rule name="Rewrite Rule 7">
  30.         <match url="^templets/(.*)article.htm([?_A-Za-z0-9]+)$" />
  31.         <action type="Rewrite" url="plus/404.html" />
  32. </rule>
  33. <rule name="Rewrite Rule 8">
  34.         <match url="^(.*)/data/(.*).php$" />
  35.         <action type="Rewrite" url="plus/404.html" />
  36. </rule>
  37. <rule name="Rewrite Rule 9">
  38.         <match url="^(.*)/include/([_\-A-Za-z0-9]+).php([?_A-Za-z0-9]+)$" />
  39.         <action type="Rewrite" url="plus/404.html" />
  40. </rule>
  41. <rule name="Rewrite Rule 10">
  42.         <match url="^topic_([0-9]+)([\/]*)$" />
  43.         <action type="Rewrite" url="plus/show.php\?aid={R:1}&amp;typestr=topic_" />
  44. </rule>
  45. <rule name="Rewrite Rule 11">
  46.         <match url="^templets/([_\-A-Za-z0-9]+)/style/([_\-A-Za-z0-9]+).css(.*)$" />
  47.         <action type="Rewrite" url="plus/style.php\?dir={R:1}&amp;filename={R:2}" />
  48. </rule>
  49. <rule name="Rewrite Rule 12">
  50.         <match url="^(sitemap\.xml|sitemap\.html)$" />
  51.         <action type="Rewrite" url="plus/list.php\?typestr={R:1}" />
  52. </rule>
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则