Nginx apache rewrite 对比

2012-1-16 王健宇 Linux

[APACHE]
RewriteRule ^mergenotify-([0-9]+).html$ index.php?app=mergenotify&order_id=$1 [L]
 
[Nginx]
rewrite ^/mergenotify-([0-9]+).html$ /index.php?app=mergenotify&order_id=$1 last;

 

发表评论:

Powered by emlog sitemap