求大神帮忙把阿帕奇规则改成Nginx伪静态,用工具转换不行

提供vpsmjj信息求大神帮忙把阿帕奇规则改成Nginx伪静态,用工具转换不行是很好的服务器交流推荐67637文章

RewriteEngine on

RewriteCond %{HTTP_HOST} ^(baidu.com)(:80)? [NC]
RewriteRule ^(.*) http://www.baidu.com/$1 [R=301,L]
RewriteRule ^api/baidu_sitemap_([0-9]+).xml$  api/baidu_sitemap.php?page=$1;
RewriteRule ^api/baidu_sitemap.xml$  api/baidu_sitemap.php;
RewriteRule ^xuanhuan/$ /modules/article/articlelist.php?class=1
RewriteRule ^wuxia/$ /modules/article/articlelist.php?class=2
RewriteRule ^dushi/$ /modules/article/articlelist.php?class=3
RewriteRule ^lishi/$ /modules/article/articlelist.php?class=4
RewriteRule ^youxi/$ /modules/article/articlelist.php?class=5
RewriteRule ^kehuan/$ /modules/article/articlelist.php?class=6
RewriteRule ^qita/$ /modules/article/articlelist.php?class=7
RewriteRule ^xuanhuan/([0-9]+)/$ /modules/article/articlelist.php?class=1&page=$1
RewriteRule ^wuxia/([0-9]+)/$ /modules/article/articlelist.php?class=2&page=$1
RewriteRule ^dushi/([0-9]+)/$ /modules/article/articlelist.php?class=3&page=$1
RewriteRule ^lishi/([0-9]+)/$ /modules/article/articlelist.php?class=4&page=$1
RewriteRule ^youxi/([0-9]+)/$ /modules/article/articlelist.php?class=5&page=$1
RewriteRule ^kehuan/([0-9]+)/$ /modules/article/articlelist.php?class=6&page=$1
RewriteRule ^qita/([0-9]+)/$ /modules/article/articlelist.php?class=7&page=$1
RewriteRule ^fenlei/([0-9]+)_([0-9]+)/$ /modules/article/articlelist.php?class=$1&page=$2
RewriteRule ^top/([a-z]+)_([0-9]+)/$ /modules/article/toplist.php?sort=$1&page=$2
RewriteRule ^gengxin.html$ /modules/article/toplist.php?sort=lastupdate
RewriteRule ^paihang.html$ /modules/article/52mb_paihang.php
RewriteRule ^all.html$ /modules/article/52mb_quanbu.php
RewriteRule ^book/([0-9]+).html$ modules/article/articleinfo.php?id=$1
RewriteRule ^([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
RewriteRule ^52mb/(.*).html$ /404.html
RewriteRule ^templates/(.*).html$ /404.html
RewriteRule ^themes/52mb/(.*).html$ /404.html
RewriteRule ^modules/article/templates/$ /404.html
RewriteRule ^modules/article/templates/(.*).html$ /404.html
RewriteRule ^zuijingenxin.html$ modules/article/toplist.php?sort=lastupdate

RewriteEngine on

RewriteCond %{HTTP_HOST} ^(baidu.com)(:80)? [NC]
RewriteRule ^(.*) http://www.baidu.com/$1 [R=301,L]
RewriteRule ^api/baidu_sitemap_([0-9]+).xml$  api/baidu_sitemap.php?page=$1;
RewriteRule ^api/baidu_sitemap.xml$  api/baidu_sitemap.php;
RewriteRule ^xuanhuan/$ /modules/article/articlelist.php?class=1
RewriteRule ^wuxia/$ /modules/article/articlelist.php?class=2
RewriteRule ^dushi/$ /modules/article/articlelist.php?class=3
RewriteRule ^lishi/$ /modules/article/articlelist.php?class=4
RewriteRule ^youxi/$ /modules/article/articlelist.php?class=5
RewriteRule ^kehuan/$ /modules/article/articlelist.php?class=6
RewriteRule ^qita/$ /modules/article/articlelist.php?class=7
RewriteRule ^xuanhuan/([0-9]+)/$ /modules/article/articlelist.php?class=1&page=$1
RewriteRule ^wuxia/([0-9]+)/$ /modules/article/articlelist.php?class=2&page=$1
RewriteRule ^dushi/([0-9]+)/$ /modules/article/articlelist.php?class=3&page=$1
RewriteRule ^lishi/([0-9]+)/$ /modules/article/articlelist.php?class=4&page=$1
RewriteRule ^youxi/([0-9]+)/$ /modules/article/articlelist.php?class=5&page=$1
RewriteRule ^kehuan/([0-9]+)/$ /modules/article/articlelist.php?class=6&page=$1
RewriteRule ^qita/([0-9]+)/$ /modules/article/articlelist.php?class=7&page=$1
RewriteRule ^fenlei/([0-9]+)_([0-9]+)/$ /modules/article/articlelist.php?class=$1&page=$2
RewriteRule ^top/([a-z]+)_([0-9]+)/$ /modules/article/toplist.php?sort=$1&page=$2
RewriteRule ^gengxin.html$ /modules/article/toplist.php?sort=lastupdate
RewriteRule ^paihang.html$ /modules/article/52mb_paihang.php
RewriteRule ^all.html$ /modules/article/52mb_quanbu.php
RewriteRule ^book/([0-9]+).html$ modules/article/articleinfo.php?id=$1
RewriteRule ^([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
RewriteRule ^52mb/(.*).html$ /404.html
RewriteRule ^templates/(.*).html$ /404.html
RewriteRule ^themes/52mb/(.*).html$ /404.html
RewriteRule ^modules/article/templates/$ /404.html
RewriteRule ^modules/article/templates/(.*).html$ /404.html
RewriteRule ^zuijingenxin.html$ modules/article/toplist.php?sort=lastupdate

网友回复:

注册 百度的规则

dqlb123 好家伙,规则都精确到指定参数了,写这个东西的人真是个人才

部分来自互联网,侵权联系删除

www.a1fz.com A1fz网专注于福利分享,各种破解软件学习资料,视频教程等等,如有侵权告知管理员删除
A1fz.com,福利吧,宅男福利,宅男,福利社,福利,有福利 » 求大神帮忙把阿帕奇规则改成Nginx伪静态,用工具转换不行

发表评论