ECShopNginx的伪静态(Rewrite)规则.doc

ECShopNginx的伪静态(Rewrite)规则.doc

ID:50368531

大小:43.52 KB

页数:2页

时间:2020-03-08

ECShopNginx的伪静态(Rewrite)规则.doc_第1页
ECShopNginx的伪静态(Rewrite)规则.doc_第2页
资源描述:

《ECShopNginx的伪静态(Rewrite)规则.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、ECShopNginx的伪静态(Rewrite)规则ECSHOP模板堂(ecmoban.com)ECShop是一款开源免费的网上商店系统。由专业的开发团队升级维护,为您提供及时高效的技术支持,您还可以根据自己的商务特征对ECShop进行定制,增加自己商城的特色功能。把下面代码存为ecshop.conf,然后在域名配置文件(romangift.com.conf)中嵌入(includeecshop.conf)就行了location/{if(!-e$request_filename){rewrite"^/index.html"/index.phplast;rewrite"^/catego

2、ry$"/index.phplast;rewrite"^/feed-c([0-9]+).xml$"/feed.php?cat=$1last;rewrite"^/feed-b([0-9]+).xml$"/feed.php?brand=$1last;rewrite"^/feed.xml$"/feed.phplast;rewrite"^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$"/category.php?id=$1&bran

3、d=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8last;rewrite"^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$"/category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5last;rewrite"^/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]

4、+)(.*).html$"/category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5last;rewrite"^/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*).html$"/category.php?id=$1&brand=$2&page=$3last;rewrite"^/category-([0-9]+)-b([0-9]+)(.*).html$"/category.php?id=$1&brand=$2last;rewrite"^/category-([0-9]+)(.*).html$"/ca

5、tegory.php?id=$1last;rewrite"^/goods-([0-9]+)(.*).html"/goods.php?id=$1last;rewrite"^/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$"/article_cat.php?id=$1&page=$2&sort=$3&order=$4last;rewrite"^/article_cat-([0-9]+)-([0-9]+)(.*).html$"/article_cat.php?id=$1&page=$2last;rewrite"^/ar

6、ticle_cat-([0-9]+)(.*).html$"/article_cat.php?id=$1last;rewrite"^/article-([0-9]+)(.*).html$"/article.php?id=$1last;rewrite"^/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+).html"/brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5last;rewrite"^/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*).html"/br

7、and.php?id=$1&cat=$2&page=$3last;rewrite"^/brand-([0-9]+)-c([0-9]+)(.*).html"/brand.php?id=$1&cat=$2last;rewrite"^/brand-([0-9]+)(.*).html"/brand.php?id=$1last;rewrite"^/tag-(.*).html"/search.php?keywords=$1last;rewrite"^/snatc

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。