当前位置:编程学习 > C#/ASP.NET >>

IIS 怎么配置伪静态目录化?

比如这种地址:
http://xxxx.com/category/Business-Suit-Genfoyxjh-c337/

http://xxxx.com/category/Business-Suit-Gucci-cravate-femme-pas-cher-paypal-costume-versace-giorgio-armani-estate-2012-P37602.html

这个是webconfig里面的:<add virtualUrl="~/category/(.*)-c(\d+)/" destinationUrl="~/Products.aspx?classname=$1&classId=$2&"/>

vs里面做站的时候能正常访问,上到服务器iis就404了,应该是IIS上面要配置,伪静态的我会弄,就是目录化的不会,求一份解决方案。多谢。 --------------------编程问答-------------------- URLRewrite --------------------编程问答--------------------   --------------------编程问答--------------------
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,