【问题标题】:Rewrite: Apache to Nginx重写:Apache 到 Nginx
【发布时间】:2015-03-09 20:00:44
【问题描述】:

谁能告诉我,如何为nginx转换以下规则?

RewriteRule ^([^/]*)/?$ index.php?a=$1 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2&c=$3 [L,NC]

【问题讨论】:

    标签: apache .htaccess nginx rewrite


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2017-01-18
    • 1970-01-01
    • 2017-07-26
    • 2018-05-05
    • 1970-01-01
    • 2012-01-29
    • 2014-04-24
    • 2023-03-18
    相关资源
    最近更新 更多