【发布时间】:2015-04-17 05:33:03
【问题描述】:
我找不到说明 RewriteRule 中标志顺序的文档。我认为没有,但希望得到确认。
这两个是等价的吗?
RewriteRule ^/test(.*) https://example.com/sites/test$1 [NC,R,L,NE]
RewriteRule ^/test(.*) https://example.com/sites/test$1 [NC,NE,R,L]
【问题讨论】:
-
不,它们无关紧要。
-
你真的有问题吗?
-
@arco444:我将您的评论转换为答案。
标签: apache .htaccess mod-rewrite redirect