求.net伪静态代码。 如题,我想别人访问 index.html的时候能访问到index.aspx。改怎么写?最好给点注释,写好之后要怎么配置? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我在网上查了,<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler,URLRewriter" /><RewriterConfig > <Rules> <!-- Rules for Blog Content Displayer --> <RewriterRule> <LookFor>~/index.html</LookFor> <SendTo> ~/index.aspx</SendTo> </RewriterRule> </Rules> </RewriterConfig><httpHandlers><add verb="*" path="*.html" type = "URLRewriter.RewriterFactoryHandler, URLRewriter"/></httpHandlers>然后打html后缀 直接404 你的页面原本是aspx的??那你写伪静态将其转为html的有为何要访问aspx呢?? ASP.NET单点登录的问题 未将对象引用设置到对象的实例 [小白求助]100分求JS接收Bitmap类型变量的方法 求实现域登陆的相关例子代码 谁跟我讲讲__doPostBack() 【请问大家是怎样看源码的?如果你得到一个项目的源码】(进来看的都有收获) 问一个关于datagrid操作的问题 还是请教页面执行时间的问题 用Imager控件显示图片为什么不行~~看一看源程序?我感觉没有错误了~~ sauce能不能再帮我看一下,为社么不能分页 机器配置 多条件情况的存储过程怎么判定。请各位大侠指教一下,急。。。
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler,URLRewriter" />
<RewriterConfig >
<Rules>
<!-- Rules for Blog Content Displayer -->
<RewriterRule>
<LookFor>~/index.html</LookFor>
<SendTo>
~/index.aspx</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig><httpHandlers>
<add verb="*" path="*.html" type = "URLRewriter.RewriterFactoryHandler, URLRewriter"/>
</httpHandlers>然后打html后缀 直接404
那你写伪静态将其转为html的
有为何要访问aspx呢??