I have the rules:
<rewrite url="~/construct2" to="~/construct2.aspx" processing="stop"/>
<rewrite url="~/construct" to="~/Handlers/PermRedirect.ashx?URL=construct2" processing="stop"/>
Along with many many more.
When I attempt to visit:
http://84.45.57.142/images/construct2-screenshot.jpg
It seems to activate these 开发者_JS百科rules and redirect you to construct2.aspx. Does anyone know why? I thought ~/construct
would only match root directory/construct
not any directory/construct*
Try:
<rewrite url="~/construct2$" to="~/construct2.aspx" processing="stop"/>
精彩评论