最新评论
Re:ASP.NET URL Rewrite. URL重写
Faith_Ganler_lulu 2012-01-12 10:38
搂着在IIS上部署过吗 我部署到IIS上就出错
那想问下楼主这个问题有么有解决?我现在遇到了同样的问题,找不到方法啊。
分析器错误消息: 无法识别的配置节 RewriterConfig。
这个怎么回事?
VS2005里面可以使用的!
现在有个问题,假如我想配置两组url重写怎么弄啊?
re: 请问一个onkeypress的问题 kaixin110 2009-02-26 16:58
对中文的处理是有问题
如果在 IE下可以使用onpropertychange replace
firefox oninput event
http://www.handandaily.com
Dear Sir,
I am facing the same problem on windows operating system.Suggest some remedies.
Thanks
Nadim
<RewriterRule>
<LookFor>~/pl_abc.aspx</LookFor>
<SendTo>~/pl/abc.aspx</SendTo>
</RewriterRule>
请问如果没有正则,为什么不行了呢?说找不到pl_abc.aspx。
太烂了~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
re: 删除字符串最后一个字符的几种方法 woowow 2008-08-05 17:35
cao 没有一个函数写得是对得
??我还是不太明白,这个是什么意思!可不可以再清楚一点啊?
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>
</configSections>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/BMT88/d(\d+)\.aspx</LookFor>
<SendTo>~/BMT88/Article.aspx?id=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/BMx\.aspx</LookFor>
<SendTo>~/BM_Index.aspx</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<system.web>
<!--<httpModules>
<add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter"/>
</httpModules>-->
<httpHandlers>
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
<pages enableEventValidation="false" enableViewState="false" />
<httpRuntime maxRequestLength="100000" executionTimeout="120"/>
<!--
设置 compilation debug="true" 将调试符号插入
已编译的页面中。但由于这会
影响性能,因此只在开发过程中将此值
设置为 true。
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<!--
通过 <authentication> 节可以配置 ASP.NET 使用的
安全身份验证模式,
以标识传入的用户。
-->
<identity impersonate="true"/>
<!--
如果在执行请求的过程中出现未处理的错误,
则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
开发人员通过该节可以配置
要显示的 html 错误页
以代替错误堆栈跟踪。
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>
请问楼主我按你的要求配置过了。但是没有效果怎么回事.
谢谢,帮了很大忙。
回复三楼
<httpHandlers>
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
问一下这个好像在VS2005里用不了,请问这个URL重写组件有没有针对.net2.0
的
<LookFor>~/d(\d+)\.aspx</LookFor>
<SendTo>~/default.aspx?id=$1</SendTo>
后缀只能是已ASPX结尾
比如我改成
<LookFor>~/d(\d+)\.html</LookFor>
<SendTo>~/default.aspx?id=$1</SendTo>
就不行了,不知道有什么方法可以做到
正解 真是太好了。像我这样非计算机专业的想DIY点东西,就靠搜索和解答问题的好心人了
re: 如何使用bat文件一次运行多个程序阿? icemac 2007-12-06 10:24
太感谢了。
that problem was with both of them, IIS and Skype. U really helped me. I stucked for 2 days with this problem. Thanx a lot.
re: 毕业一周年纪念 西煞魄工人 2007-09-18 17:36
人人如此...
re: 无aspx文件部署的方法 jack wang 2007-08-27 13:53
找了好些,怎么都是没有具体的操作呀,尤其是由.cs文件编译成.dll文件这个重要的步骤都没有,能转给我吗?谢谢。qingqingfeiwu19@163.com
Skype issue here too. I stopped Skype and everything works just fine. Skype has a configuration in tools->options->advanced: use port 80, just unselect it, and restart Skype. It will not bother you again.
你好!我把URLRewriter.dll放到bin文件夹里后
再web.config里设置如下:
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/d(\d+)\.aspx</LookFor>
<SendTo>~/xxym?id=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
</system.web>
</configuration>
但是运行是还是老样子,没反应,还是显示
http://localhost/wjtym/xxym.aspx?id=101
我用的是asp.net 1.1版本的!
请问为什么会没反应的呢?能不能留个邮箱给我,我好将源程序发给你看看
如果使用了母版页的话,还是使用 Actionlessform 好。
thanks a lot. i have lost 3 hrs for it. this is skype for this. just disabled the skype and the apche2 is wokring great now.
re: 如何使用bat文件一次运行多个程序阿? wploveah 2006-10-12 14:33
编辑一个BAT文件
内容如下:
start mem.exe
start bendan.exe
start cs.bat
start command.com
start explorer.exe
start pbrush.exe
保存为.bat文件,然后运行这个文件就可以一次启动多个程序了。
re: 在DataGrid中合并单元格行 风海迷沙 2006-07-20 13:24
请问导出到excel中时可否保留合并效果?