在我的appication中,我用URL重写使用Intelligencia。 我的URL模式是URL重写问题,正则表达式
<rewrite url="~/([A-Za-z0-9-_ ]+)$" to="~/xxxxxx.aspx?id=$1"/>
现在我想如果URL中不包含iphonestatelist,iphonepropertytype那么只有它应该重定向。
我已经使用下面的代码,但它不起作用。
<rewrite url="~/(^((?!\b(iphonestatelist|iphonepropertytype)\b).)*[A-Za-z0-9-_ ]+)$" to="~/xxxxxx.aspx?id=$1"/>
如: 下面的网址不希望重写
www.xxxx.com/abc/sef/iphonestatelist
权URL重写
WWW。 xxxx.com/FX1234
它的工作谢谢这么多.... – Sree