$7.49 .com domain with free InstantPage Website Builder$1.99 Web Hosting   捷飞网络官方淘宝店   Godaddy 优惠码
返回列表 发帖
分享到:




[开发经验技巧分享] 基于nginx搭建的WEB服务器,DedeCMS的url rewrite规则

  1. rewrite ^/list-([0-9]+)\.html$ /plus/list.php?tid=$1;
  2. rewrite ^/list-([0-9]+)-([0-9]+)-([0-9]+)\.html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3;
  3. rewrite ^/view-([0-9]+)-1\.html$ /plus/view.php?arcID=$1;
  4. rewrite ^/view-([0-9]+)-([0-9]+)\.html$ /plus/view.php?aid=$1&pageno=$2;
复制代码

http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
4 L+ N& g( b. U6 q$ w, j6 R8 g6 r4 q2 h
自动将Apache Rewrite伪静态规则转换为Nginx Rewrite


TOP

返回列表
Namecheap
Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting
互联网安全