虚拟目录中的web.config不被上级目录的web.config影响的处理

在上级目录的web.config中作以下处理:


<location path="." allowOverride="true" inheritInChildApplications="false"> 

<system.web> 

... 

</system.web> 

</location> 


即在<system.web> 外套个location。

 

posted on 2010-10-20 13:39  公众号73只蚂蚁  阅读(258)  评论(0编辑  收藏  举报

导航