secker 发表于 2012-6-10 08:41:32

apache rewrite规则转换为nginx规则

RewriteRule ^article/list-(.*)-0.html$ article/index.php?type=list&classid=$1
RewriteRule ^article/detail-(.*).html$ article/index.php?type=detail&id=$1
RewriteRule ^article/detail-(.*)-(.*).html$ article/index.php?type=detail&id=$1&page=$2

以上apache规则转换到nginx后如何写,试了多次都不成功。。。

[ 本帖最后由 secker 于 2012-6-10 08:43 编辑 ]

licess 发表于 2012-6-10 10:24:35

http://blog.licess.org/convert-apache-htaccess-to-nginx/ 用这个转换试试
或到程序开发者那边要一个

secker 发表于 2012-6-10 10:55:43

谢军哥:lol还不够八个字……
页: [1]
查看完整版本: apache rewrite规则转换为nginx规则