ECShop Nginx伪静态
来源:互联网 发布:金十数据是什么意思 编辑:程序博客网 时间:2024/05/17 03:17
if (!-e $request_filename)
{
rewrite "^/mobile/index\.html" /mobile/index.php last;
rewrite "^/mobile/category$" /mobile/index.php last;
rewrite "^/mobile/feed-c([0-9]+)\.xml$" /mobile/feed.php?cat=$1 last;
rewrite "^/mobile/feed-b([0-9]+)\.xml$" /mobile/feed.php?brand=$1 last;
rewrite "^/mobile/feed\.xml$" /mobile/feed.php last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&page=$3 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2 last;
rewrite "^/mobile/category-([0-9]+)(.*)\.html$" /mobile/category.php?id=$1 last;
rewrite "^/mobile/goods-([0-9]+)(.*)\.html" /mobile/goods.php?id=$1 last;
rewrite "^/mobile/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/article_cat.php?id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/mobile/article_cat-([0-9]+)-([0-9]+)(.*)\.html$" /mobile/article_cat.php?id=$1&page=$2 last;
rewrite "^/mobile/article_cat-([0-9]+)(.*)\.html$" /mobile/article_cat.php?id=$1 last;
rewrite "^/mobile/article-([0-9]+)(.*)\.html$" /mobile/article.php?id=$1 last;
rewrite "^/mobile/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html" /mobile/brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/mobile/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html" /mobile/brand.php?id=$1&cat=$2&page=$3 last;
rewrite "^/mobile/brand-([0-9]+)-c([0-9]+)(.*)\.html" /mobile/brand.php?id=$1&cat=$2 last;
rewrite "^/mobile/brand-([0-9]+)(.*)\.html" /mobile/brand.php?id=$1 last;
rewrite "^/mobile/tag-(.*)\.html" /mobile/search.php?keywords=$1 last;
rewrite "^/mobile/snatch-([0-9]+)\.html$" /mobile/snatch.php?id=$1 last;
rewrite "^/mobile/group_buy-([0-9]+)\.html$" /mobile/group_buy.php?act=view&id=$1 last;
rewrite "^/mobile/auction-([0-9]+)\.html$" /mobile/auction.php?act=view&id=$1 last;
rewrite "^/mobile/exchange-id([0-9]+)(.*)\.html$" /mobile/exchange.php?id=$1&act=view last;
rewrite "^/mobile/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 last;
rewrite "^/mobile/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/mobile/exchange-([0-9]+)-([0-9]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1&page=$2 last;
rewrite "^/mobile/exchange-([0-9]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1 last;
rewrite "^/index\.html" /index.php last;
rewrite "^/category$" /index.php last;
rewrite "^/feed-c([0-9]+)\.xml$" /feed.php?cat=$1 last;
rewrite "^/feed-b([0-9]+)\.xml$" /feed.php?brand=$1 last;
rewrite "^/feed\.xml$" /feed.php last;
rewrite "^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 last;
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=$5 last;
rewrite "^/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$" /category.php?id=$1&brand=$2&page=$3 last;
rewrite "^/category-([0-9]+)-b([0-9]+)(.*)\.html$" /category.php?id=$1&brand=$2 last;
rewrite "^/category-([0-9]+)(.*)\.html$" /category.php?id=$1 last;
rewrite "^/goods-([0-9]+)(.*)\.html" /goods.php?id=$1 last;
rewrite "^/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /article_cat.php?id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/article_cat-([0-9]+)-([0-9]+)(.*)\.html$" /article_cat.php?id=$1&page=$2 last;
rewrite "^/article_cat-([0-9]+)(.*)\.html$" /article_cat.php?id=$1 last;
rewrite "^/article-([0-9]+)(.*)\.html$" /article.php?id=$1 last;
rewrite "^/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html" /brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html" /brand.php?id=$1&cat=$2&page=$3 last;
rewrite "^/brand-([0-9]+)-c([0-9]+)(.*)\.html" /brand.php?id=$1&cat=$2 last;
rewrite "^/brand-([0-9]+)(.*)\.html" /brand.php?id=$1 last;
rewrite "^/tag-(.*)\.html" /search.php?keywords=$1 last;
rewrite "^/snatch-([0-9]+)\.html$" /snatch.php?id=$1 last;
rewrite "^/group_buy-([0-9]+)\.html$" /group_buy.php?act=view&id=$1 last;
rewrite "^/auction-([0-9]+)\.html$" /auction.php?act=view&id=$1 last;
rewrite "^/exchange-id([0-9]+)(.*)\.html$" /exchange.php?id=$1&act=view last;
rewrite "^/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /exchange.php?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 last;
rewrite "^/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /exchange.php?cat_id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/exchange-([0-9]+)-([0-9]+)(.*)\.html$" /exchange.php?cat_id=$1&page=$2 last;
rewrite "^/exchange-([0-9]+)(.*)\.html$" /exchange.php?cat_id=$1 last;
}
{
rewrite "^/mobile/index\.html" /mobile/index.php last;
rewrite "^/mobile/category$" /mobile/index.php last;
rewrite "^/mobile/feed-c([0-9]+)\.xml$" /mobile/feed.php?cat=$1 last;
rewrite "^/mobile/feed-b([0-9]+)\.xml$" /mobile/feed.php?brand=$1 last;
rewrite "^/mobile/feed\.xml$" /mobile/feed.php last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2&page=$3 last;
rewrite "^/mobile/category-([0-9]+)-b([0-9]+)(.*)\.html$" /mobile/category.php?id=$1&brand=$2 last;
rewrite "^/mobile/category-([0-9]+)(.*)\.html$" /mobile/category.php?id=$1 last;
rewrite "^/mobile/goods-([0-9]+)(.*)\.html" /mobile/goods.php?id=$1 last;
rewrite "^/mobile/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/article_cat.php?id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/mobile/article_cat-([0-9]+)-([0-9]+)(.*)\.html$" /mobile/article_cat.php?id=$1&page=$2 last;
rewrite "^/mobile/article_cat-([0-9]+)(.*)\.html$" /mobile/article_cat.php?id=$1 last;
rewrite "^/mobile/article-([0-9]+)(.*)\.html$" /mobile/article.php?id=$1 last;
rewrite "^/mobile/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html" /mobile/brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/mobile/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html" /mobile/brand.php?id=$1&cat=$2&page=$3 last;
rewrite "^/mobile/brand-([0-9]+)-c([0-9]+)(.*)\.html" /mobile/brand.php?id=$1&cat=$2 last;
rewrite "^/mobile/brand-([0-9]+)(.*)\.html" /mobile/brand.php?id=$1 last;
rewrite "^/mobile/tag-(.*)\.html" /mobile/search.php?keywords=$1 last;
rewrite "^/mobile/snatch-([0-9]+)\.html$" /mobile/snatch.php?id=$1 last;
rewrite "^/mobile/group_buy-([0-9]+)\.html$" /mobile/group_buy.php?act=view&id=$1 last;
rewrite "^/mobile/auction-([0-9]+)\.html$" /mobile/auction.php?act=view&id=$1 last;
rewrite "^/mobile/exchange-id([0-9]+)(.*)\.html$" /mobile/exchange.php?id=$1&act=view last;
rewrite "^/mobile/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 last;
rewrite "^/mobile/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/mobile/exchange-([0-9]+)-([0-9]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1&page=$2 last;
rewrite "^/mobile/exchange-([0-9]+)(.*)\.html$" /mobile/exchange.php?cat_id=$1 last;
rewrite "^/index\.html" /index.php last;
rewrite "^/category$" /index.php last;
rewrite "^/feed-c([0-9]+)\.xml$" /feed.php?cat=$1 last;
rewrite "^/feed-b([0-9]+)\.xml$" /feed.php?brand=$1 last;
rewrite "^/feed\.xml$" /feed.php last;
rewrite "^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 last;
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=$5 last;
rewrite "^/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$" /category.php?id=$1&brand=$2&page=$3 last;
rewrite "^/category-([0-9]+)-b([0-9]+)(.*)\.html$" /category.php?id=$1&brand=$2 last;
rewrite "^/category-([0-9]+)(.*)\.html$" /category.php?id=$1 last;
rewrite "^/goods-([0-9]+)(.*)\.html" /goods.php?id=$1 last;
rewrite "^/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /article_cat.php?id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/article_cat-([0-9]+)-([0-9]+)(.*)\.html$" /article_cat.php?id=$1&page=$2 last;
rewrite "^/article_cat-([0-9]+)(.*)\.html$" /article_cat.php?id=$1 last;
rewrite "^/article-([0-9]+)(.*)\.html$" /article.php?id=$1 last;
rewrite "^/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html" /brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5 last;
rewrite "^/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html" /brand.php?id=$1&cat=$2&page=$3 last;
rewrite "^/brand-([0-9]+)-c([0-9]+)(.*)\.html" /brand.php?id=$1&cat=$2 last;
rewrite "^/brand-([0-9]+)(.*)\.html" /brand.php?id=$1 last;
rewrite "^/tag-(.*)\.html" /search.php?keywords=$1 last;
rewrite "^/snatch-([0-9]+)\.html$" /snatch.php?id=$1 last;
rewrite "^/group_buy-([0-9]+)\.html$" /group_buy.php?act=view&id=$1 last;
rewrite "^/auction-([0-9]+)\.html$" /auction.php?act=view&id=$1 last;
rewrite "^/exchange-id([0-9]+)(.*)\.html$" /exchange.php?id=$1&act=view last;
rewrite "^/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /exchange.php?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 last;
rewrite "^/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$" /exchange.php?cat_id=$1&page=$2&sort=$3&order=$4 last;
rewrite "^/exchange-([0-9]+)-([0-9]+)(.*)\.html$" /exchange.php?cat_id=$1&page=$2 last;
rewrite "^/exchange-([0-9]+)(.*)\.html$" /exchange.php?cat_id=$1 last;
}
0 0
- ECShop Nginx伪静态
- ecshop伪静态问题
- ECshop伪静态规则
- ecshop静态、 ecshop伪静态、ecshop伪静态设置详细方法、ECSHOP静态化方法
- ecshop 去掉版权 伪静态
- ecshop如何开启伪静态
- ecshop实现伪静态规则
- ecshop+ectouch LANP伪静态
- Nginx常用Rewrite伪静态法则,其中有discuz,ecshop等多个产品
- nginx伪静态大全
- Nginx dz 伪静态
- nginx 配置伪静态
- Nginx伪静态配置
- nginx伪静态规则
- ecshop伪静态的实现技巧
- 为ecshop部署伪静态IIRF-IonicIsapiRewriter
- Ecshop IIS Rewrite伪静态规则
- nginx设置emlog伪静态
- 两个静态页面之间进行存取值
- SMI-S规范介绍
- 用PHP去实现数据库查询结果缓存
- PHP环境搭建之PHPstorm9+PHP5开发环境配置
- iOS 开发之 ReactiveCocoa 下的 MVVM(干货分享)
- ECShop Nginx伪静态
- android游戏开发初学之SurfaceView创建
- 重构优化代码结构
- 网络常用命令集锦
- 03 Netty核心概念
- 优秀的参考博客
- centos6.7多网口聚合
- 并发编程实战--对象的共享
- 求相对的最小整数