大佬教程收集整理的这篇文章主要介绍了asp.net – URL重写 – web.config错误,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
错误Code0x8007000d
配置部分的“重写”无法读取,因为它缺少一个段声明
的Response.Write(请求( “Q”))
我的主机服务器作为IIS 7安装了URL重写功能启用(这就是他们声称)
我的web.config文件有以下行:
注意:节点下面有蓝色的波浪线
<rewrite> <rules> <rule name="RewriteUserFriendlyURL1" stopProcessing="true"> <match url="^([^/]+)/?$" /> <conditions> <add input="{requEST_FILename}" matchType="IsFile" negate="true" /> <add input="{requEST_FILename}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="v.aspx?q={R:1}" /> </rule> </rules> </rewrite>
我搜索了stackoverflow,但没有找到解决方案。
可能有人找到解决方案。
TIA
@H_674_23@<configuration> <system.webServer> <rewrite> <rules> <rule name="RewriteUserFriendlyURL1" stopProcessing="true"> <match url="^([^/]+)/?$" /> <conditions> <add input="{requEST_FILename}" matchType="IsFile" negate="true" /> <add input="{requEST_FILename}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="v.aspx?q={R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>@H_674_23@ @H_674_23@
以上是大佬教程为你收集整理的asp.net – URL重写 – web.config错误全部内容,希望文章能够帮你解决asp.net – URL重写 – web.config错误所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。