克米设计图展中心 [V1.2.5] X2.5/X3版本伪静态规则-Discuz教程下载

克米设计图展中心 [V1.2.5] X2.5/X3版本伪静态规则

开通本站Svip会员,全站资源免费下
Apache Web Server(独立主机用户):

  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteCond %{QUERY_STRING} ^(.*)$
  4. RewriteRule ^(.*)/pic-([0-9]+)\.html$ $1/plugin.php?id=comiis_imgshow&tid=$2&%1
  5. </IfModule>
复制代码
Apache Web Server(虚拟主机用户):

  1. # 将 RewriteEngine 模式打开
  2. RewriteEngine On

  3. # 修改以下语句中的 /Discuz 为您的论坛目录地址,如果程序放在根目录中,请将 /discuz 修改为 /
  4. RewriteBase /discuz

  5. RewriteCond %{QUERY_STRING} ^(.*)$
  6. RewriteRule ^pic-([0-9]+)\.html$ plugin.php?id=comiis_imgshow&tid=$1&%1
复制代码
IIS Web Server(独立主机用户):

  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32

  5. # Protect httpd.ini and httpd.parse.errors files
  6. # from Accessing through HTTP
  7. RewriteRule ^(.*)/pic-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=comiis_imgshow&tid=$2&$4
复制代码
IIS7 Web Server(独立主机用户):

  1. <rewrite>
  2. <rules>
  3. <rule name="pic">
  4. <match url="^(.*/)*pic-([0-9]+).html\?*(.*)[        DISCUZ_CODE_3        ]quot; />
  5. <action type="Rewrite" url="{R:1}/plugin.php\?id=comiis_imgshow&tid={R:2}&{R:3}" />
  6. </rule>
  7. </rules>
  8. </rewrite>
复制代码
Zeus Web Server:

  1. match URL into $ with ^(.*)/pic-([0-9]+)\.html\?*(.*)$
  2. if matched then
  3. set URL = $1/plugin.php?id=comiis_imgshow&tid=$2&$3
  4. endif
复制代码
Nginx Web Server:

  1. <span style="font-weight: normal;">rewrite ^([^\.]*)/pic-([0-9]+)\.html$ $1/plugin.php?id=comiis_imgshow&tid=$2 last;
  2. if (!-e $request_filename) {
  3. return 404;
  4. }</span>
复制代码

全部评论 0

您需要登录后才可以回帖 立即登录
登录
0
0
0
返回顶部