【发布时间】:2012-01-29 12:47:25
【问题描述】:
我有以下 apache 重写规则:
RewriteEngine On
RewriteRule ^id/([^/\.]+)$ item.php?id=$1 [L]
我需要能够将它与 Nginx 一起使用。这是为了让某人可以去http://mysite.com/id/10,而不必去http://mysite.com/item.php?id=10。 谁能帮我转换一下?
提前致谢!
【问题讨论】:
标签: php apache .htaccess mod-rewrite nginx