虚拟目录中的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 Free Programmer 阅读(109) 评论(0) 编辑 收藏