返回列表 发新帖
查看: 700|回复: 0

全屏瀑布流使用插件自定义伪静态的步骤

[复制链接]

2816

热度

3079

元宝

2662

贡献

步入草根

联盟成员

发表于 2015-2-11 14:51:39 | 显示全部楼层 |阅读模式
安装说明一、使用插件自定义伪静态的步骤
1、把插件目录下的文件waterfall.php复制到论坛根目录
2、把主导航上全屏瀑布流菜单项的连接地址由plugin.php?id=chs_waterfall:waterfall改为waterfall.php
3、征对不同的web服务器把伪静态规则写入相应的伪静态文件中:
(1)Apache Web Server(独立主机用户)
  1. RewriteCond %{REQUEST_FILENAME} !-f
  2. RewriteCond %{REQUEST_FILENAME} !-d
  3. RewriteCond %{REQUEST_URI} ^(.*)$
  4. RewriteRule ^(.*)/waterfall((/(.*))|)$ $1/waterfall.php
复制代码

(2)Apache Web Server(虚拟主机用户)
  1. RewriteCond %{REQUEST_FILENAME} !-f
  2. RewriteCond %{REQUEST_FILENAME} !-d
  3. RewriteCond %{REQUEST_URI} ^(.*)$
  4. RewriteRule ^waterfall((/(.*))|)$ waterfall.php
复制代码

(3)IIS7 Web Server(独立主机用户)
  1. <rule name="RewriteUserFriendlyURL1" stopProcessing="true">
  2. <match url="^waterfall((/(.*))|)$" />
  3. <conditions>
  4. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  5. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  6. </conditions>
  7. <action type="Rewrite" url="waterfall.php" />
  8. </rule>
复制代码

(4)Nginx Web Server
  1. if (!-e $request_filename) { rewrite ^([^\.]*)/waterfall((/(.*))|)$ $1/waterfall.php last;}
复制代码

4、在插件后台把启用伪静态开关打开

适用于:
全屏瀑布流 4.61豪华版 DZ建站学习研究分享
https://www.cgzz8.cn/t-9882-1-1.html
(出处: 草根吧)


ㄣ↘Catch me if you can!
返回列表 发新帖
 懒得打字嘛,点击右侧快捷回复【最新发布】   【赞助草根吧享更多权益】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

收藏帖子 返回列表 搜索

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

小黑屋|手机版|草根吧