伪静态,url重写问题,在线等,急,求救啊...
引用了微软的urlwriter dll
在web.config中这么写
<LookFor>~/(.*)-(.*).aspx</LookFor>
<SendTo> ~/$1.aspx?id=$2</SendTo>
通过 cp3-185.aspx可以访问
如果这么写
<LookFor>~/(.*)-(.*).html</LookFor>
<SendTo> ~/$1.aspx?id=$2</SendTo>
通过cp3-185.html不能访问,提示找不到页面
那个大哥告诉下怎么回事,谢谢,在线等,急