自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (3)
  • 收藏
  • 关注

空空如也

URLReWrite组件 伪静态

在web.config添加如下配置节: <httpHandlers> <add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" /> </httpHandlers> 然后按照如下格式,在wen.config中写入要重写的url的规则: <RewriterConfig> <Rules> <RewriterRule> <LookFor>~/Products/Default\.aspx</LookFor> <SendTo>~/ListCategories.aspx</SendTo> </RewriterRule> <RewriterRule> <LookFor>~/Products/Beverages_(\d{1,4})\.aspx</LookFor> <SendTo>~/ListProductsByCategory.aspx?CategoryID=$1</SendTo> </RewriterRule> <RewriterRule> </Rules> </RewriterConfig> 上例中得表达式一个是不带参数的重写,一个是带参数的, 带参数的~/Products/Beverages_(\d{1,4})\.aspx中 _(\d{1,4}) 是规则表达式,只要符合这个规则的网页, 会转发到下边的~/ListProductsByCategory.aspx?CategoryID=$1 这个网址其中,$1会接收到 (\d{1,4}) 规则表达式相对应的参数的具体值。从而达到转发的目的。

2010-12-22

FCKeditor_2.6.6.zip

FCKeditor_2.6.6.zipFCKeditor_2.6.6.zipFCKeditor_2.6.6.zipFCKeditor_2.6.6.zipFCKeditor_2.6.6.zipFCKeditor_2.6.6.zipFCKeditor_2.6.6.zip

2010-12-22

ASP.NET购物车实例.rar

ASP.NET购物车实例.rar

2010-10-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除