$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/" G# Z* f3 l5 P

/ F2 h/ y& R! k1 p0 D8 V$ M自动将Apache Rewrite伪静态规则转换为Nginx Rewrite




TOP

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