0
我想告诉我的Apache,我想要一个重定向永久性规则。RedirectMatch不工作
我有论文2种命中在我的日志:
xx.xxx.xx.x - - [15/Mar/2013:08:14:21 +0100] "POST /oldEndPoint/services/toto HTTP/1.1" 200 - 6003 -
xx.xxx.xx.x - - [15/Mar/2013:08:15:40 +0100] "POST /newEndPoint/services/Tutu/toto HTTP/1.1" 200 - 1316 -
我想告诉给了Apache,当他收到命中/ oldEndPoint /服务/ TOTO那么他应该做永久重定向(301)到新的url:/ newEndPoint/services/Tutu/toto。
我试图与这条规则,但它不工作,没有出现重定向:
RedirectMatch 301 /modBackend/moderation/facebook /modFront/services/Moderation/facebook
谢谢!
'/ modBackend/moderation/facebook'!='/ oldEndPoint/services/toto'。或者我错过了什么? – cheesemacfly 2013-03-15 16:10:23