ASP.NET redirect. Possible loop? -


i want redirect url contains 'flashmediaelement.swf' '/mediaplayer/flashmediaelement.swf'. possible there loop , redirecting without end? use

<rule name="redirect flashmediaelement" enabled="true" stopprocessing="true">     <match url="/flashmediaelement.swf$" />     <action type="redirect" url="/mediaplayer/flashmediaelement.swf" />   </rule> 

i want redirect pages ending "/flashmediaelement.swf" (like "mypage.com/blabla/blabla/flashmediaelement.swf" or "mypage.com/flashmediaelement.swf") "mypage.com/mediaplayer/flashmediaelement.swf"

no , regular expression ^/flashmediaelement.swf$ specifies exact match url , won't match '/mediaplayer/flashmediaelement.swf

see first section here exact match regex


Comments