登陆

飞飞3.9伪静态规则

汪棒棒 2018-09-22 1559人围观 ,发现0个评论


飞飞3.9伪静态规则

location / {
                   rewrite ^/Tpl/(.*)/Home/(.*)$ / last;
                   
                   rewrite ^/vod/([0-9]+).html$ /index.php?s=/Home-vod-read-id-$1;
                   rewrite ^/vod/([0-9]+)-([0-9]+).html$ /index.php?s=/Home-vod-show-id-$1-p-$2;
                   rewrite ^/vod(\w+)/([0-9]+)-([0-9]+).html$ /index.php?s=/Home-vod-show-order-$1-id-$2-p-$3;
                   rewrite ^/vod/([0-9]+)-([0-9]+)-([0-9]+).html$ /index.php?s=/Home-vod-play-id-$1-sid-$2-pid-$3;
                   rewrite ^/search/(.*)-([0-9]+).html$ /index.php?s=/Home-vod-search-wd-$1-p-$2;
                   rewrite ^/search/(.*).html$ /index.php?s=/Home-vod-search-wd-$1;
                   rewrite ^/tag/(.*)-([0-9]+).html$ /index.php?s=/Home-tag-show-wd-$1-p-$2;
                   rewrite ^/detail/(.*).html$ /index.php?s=/Home-my-show-id-$1;
                   rewrite ^/guestbook/([0-9]+).html$ /index.php?s=/Home-gb-show-p-$1;

                   rewrite ^/vod-(.*)$ /index.php?s=/Home-vod-$1 last;
                   rewrite ^/news-(.*)$ /index.php?s=/Home-news-$1 last;
                   rewrite ^/special-(.*)$ /index.php?s=/Home-special-$1 last;
                   rewrite ^/tag-(.*)$ /index.php?s=/Home-tag-$1 last;
                   rewrite ^/gb-(.*)$ /index.php?s=/Home-gb-$1 last;
                   rewrite ^/cm-(.*)$ /index.php?s=/Home-cm-$1 last;
                   rewrite ^/map-(.*)$ /index.php?s=/Home-map-$1 last;
                   rewrite ^/my-(.*)$ /index.php?s=/Home-my-$1 last;           
                   
                }

原文地址:http://www.ddhow.com/feifeicms4.html

请发表您的评论
不容错过
Powered By Z-BlogPHP