海洋CMS伪静态设置,Nginx伪静态规则
海洋CMS伪静态规则
** IIS和Apache的伪静态规则后台直接自动生成
** Nginx伪静态规则如下,路径名称请对照修改:
location / {
rewrite ^/frim/index(.+?)\.html$ /list/index.php?$1 last;
rewrite ^/movie/index(.+?)\.html$ /detail/index.php?$1 last;
rewrite ^/play/([0-9]+)-([0-9]+)-([0-9]+)\.html$ /video/index.php?$1-$2-$3 last;
rewrite ^/topic/index(.+?)\.html$ /topic/index.php?$1 last;
rewrite ^/topic/index\.html$ /topic/index.php?$1 last;
rewrite ^/topiclist/(.+?).html$ /topiclist/index.php?$1 last;
rewrite ^/index\.html$ index.php permanent;
rewrite ^/news/index\.html$ /news/index.php?$1 last;
rewrite ^/html/part/index(.+?)\.html$ /articlelist/index.php?$1 last;
rewrite ^/html/article/index(.+?)\.html$ /article/index.php?$1 last;
}
1、本文内容由网友自发贡献,版权归原作者所有。
2、本站仅提供文章发布平台,文章的内容与本站无关,请真伪自辩,本站不承担相应法律责任。
3、如发现本站有涉嫌抄袭侵权的内容,请举报并提供相关证据,一经查实,本站将立刻删除侵权内容。
4、转载请注明本文地址:http://www.z-ml.com/artinfo/282.html