马上注册,免费下载更多dz插件网资源。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
规则是apache的 怎么给搞成 nginx
RewriteEngine On
RewriteBase /
RewriteRule ^demo/([0-9]+).html /plus/demo.php?aid=$1
RewriteRule ^demopic/([0-9]+).html /plus/demopic.php?aid=$1
RewriteRule ^down/([0-9]+).html /plus/download.php?open=0&aid=$1
#404
ErrorDocument 404 /404.html
#301
#安全设置 禁止以下目录运行指定php脚本
RewriteCond % !^$
RewriteRule a/(.*).(php)$ – [F]
RewriteRule data_5f13edda81fd7/(.*).(php)$ – [F]
RewriteRule images/(.*).(php)$ – [F]
RewriteRule css/(.*).(php)$ – [F]
RewriteRule js/(.*).(php)$ – [F]
RewriteRule style/(.*).(php)$ – [F]
RewriteRule skin/(.*).(php)$ – [F]
RewriteRule ask/(.*).(php)$ – [F]
RewriteRule templets/(.*).(php|htm)$ – [F]
RewriteRule uploads/(.*).(php)$ – [F]
RewriteRule include/customfields.func.php$ – [F]
#RewriteRule ^tags\.html$ tags\.php
RewriteRule ^tags/(.*)_([0-9]+)\.html$ tags\.php\?\/$1\/$2 [L]
RewriteRule ^tags/(.*)_([0-9]+)\.html$ tags\.php\?\/$1\/$2\/ [L]
RewriteRule ^tags/(.*)\.html$ tags\.php\?\/$1
RewriteRule ^tags/(.*)\.html$ tags\.php\?\/$1\/
RewriteRule ^/?.+/list_([0-9]+)_([0-9a-z_]+_[0-9]+)_([0-9]+)\.html$ plus/list.php?tid=$1&filter=$2&PageNo=$3
RewriteRule ^/?.+/list_([0-9]+)_([0-9a-z_]+_[0-9]+)\.html$ plus/list.php?tid=$1&filter=$2
RewriteRule ^city_([a-z0-9_\-]+)/(.*)/([0-9]+)\.html$ areas/plus/view\.php?aid=$3&area=$1 [L]
RewriteRule ^city_([a-z0-9_\-]+)/(.*)/([0-9]+)_([0-9]+)\.html$ areas/plus/view\.php?aid=$2&pageno=$3&area=$1 [L]
RewriteRule ^city_([a-z0-9_\-]+)/(.*)/$ areas/plus/list\.php?tid=$2&area=$1 [L]
RewriteRule ^city_([a-z0-9_\-]+)/(.*)/list_([0-9]+)_([0-9]+)\.html$ areas/plus/list\.php?tid=$3&PageNo=$4&area=$1 [L]
RewriteRule ^city_([a-z0-9_\-]+)/$ areas/index\.php?area=$1 [L]
#RewriteRule ^city_([a-z0-9_\-]+)$ city_$1/ [L,R=301]
©DZ插件网所发布的一切资源仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。 网站部分内容来源于网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,得到更好的正版服务。 您在本站任何的赞助购买、下载、查阅、回复等行为等均表示接受并同意签订《DZ插件网免责声明协议》。 如有侵权请邮件与我们联系处理: discuzaddons@vip.qq.com 并出示相关证明以便删除。敬请谅解!
|
|