安装说明一、使用插件自定义伪静态的步骤
1、把插件目录下的文件waterfall.php复制到论坛根目录
2、把主导航上全屏瀑布流菜单项的连接地址由plugin.php?id=chs_waterfall:waterfall改为waterfall.php
3、征对不同的web服务器把伪静态规则写入相应的伪静态文件中:
(1)Apache Web Server(独立主机用户)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteRule ^(.*)/waterfall((/(.*))|)$ $1/waterfall.php
(2)Apache Web Server(虚拟主机用户)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteRule ^waterfall((/(.*))|)$ waterfall.php
(3)IIS7 Web Server(独立主机用户)
<rule name=\"RewriteUserFriendlyURL1\" stopProcessing=\"true\">
<match url=\"^waterfall((/(.*))|)$\" />
<conditions>
<add input=\"{REQUEST_FILENAME}\" matchType=\"IsFile\" negate=\"true\" />
<add input=\"{REQUEST_FILENAME}\" matchType=\"IsDirectory\" negate=\"true\" />
</conditions>
<action type=\"Rewrite\" url=\"waterfall.php\" />
</rule>
(4)Nginx Web Server
if (!-e $request_filename) { rewrite ^([^\.]*)/waterfall((/(.*))|)$ $1/waterfall.php last;}
4、在插件后台把启用伪静态开关打开
[backcolor=rgb(255, 0, 255)]适用于:
全屏瀑布流 4.61豪华版 DZ建站学习研究分享
https://www.cgzz8.cn/t-9882-1-1.html
(出处: 草根吧)