在上级目录的web.config中作以下处理:
<location path="." allowOverride="true" inheritInChildApplications="false">
<system.web>
...
</system.web>
</location>
即在<system.web> 外套个location。
本文详细介绍了如何在上级目录的web.config文件中设置location元素及其属性allowOverride和inheritInChildApplications,以实现对子应用程序继承行为的精细控制。
在上级目录的web.config中作以下处理:
<location path="." allowOverride="true" inheritInChildApplications="false">
<system.web>
...
</system.web>
</location>

被折叠的 条评论
为什么被折叠?