2014-06-05 38 views
-1

我想知道這種情況的模式: http://desarrollo.test.com.mx/varSTATIC/fe/loquesea/mi-pagina.htmlURLRewrite - 這有什麼URL匹配的正則表達式模式

進出口使用URL重寫,因爲我想將這個URL重定向到: http://otro.dominio.com/loquesea/mi-pagina.html

然後我需要一個模式來匹配一個包含「varSTATIC」的URL。

請!幫幫我!!!

TNKS!

+0

你嘗試過什麼?你在用什麼(.htaccess)?這是[「足夠好」](http://regex101.com/r/rF0iD1)給出的可用信息。 – Sam

回答

0

看來該模式比「僅包含varSTATIC」更復雜。看起來你想用「loquesea」取代「varSTATIC/fe/loquesea」。

所以這個模式將是 「varSTATIC/FE/loquesea/*」 如果使用通配符和重定向的URL將loquesea/{R:1}