1
我想從www.xyz.com/test/123
到http://www.zxy.de/?learningCardsDeeplinkUrl=http%3A%2F%2Ftest1.test2.com%2Findex.html%23%21%2FflashCard%2F123123
mod_rewrite的htaccess的與逃脫參數
一個htaccess的重定向並嘗試在htaccess的這個條目:
RewriteRule ^test/(.*)$ http://www.zxy.de/?learningCardsDeeplinkUrl=http%3A%2F%2Ftest1.test2.com%2Findex.html%23%21%2FflashCard%2F$1
結果是: targetUrl=httpAFFtest1.test2.comFindex.html31FflashCardF123
的%缺失在目標網址中。
有什麼想法?
這樣做的結果是與HTTP%253A%252F%252中的重定向瀏覽器網址。我需要那裏http%3a%2f%2f沒有%25 – 2014-12-04 12:23:39
不正確。這意味着你不使用'NE'標誌,因爲我在上面的答案中使用了'NE'標誌。它重定向到'http://www.zxy.de/?learningCardsDeeplinkUrl = http%3A%2F%2Ftest1.test2.com%2Findex.html%23%21%2FflashCard%2F123' – anubhava 2014-12-04 12:29:13
從htaccess複製/粘貼:.. 。\%2Findex.html \%23 \%21 \%2FflashCard \%2F $ 1 [L,R,NE] – 2014-12-04 12:34:51