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

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

 

 

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

<system.web> 

... 

</system.web> 

</location> 

即在<system.web> 外套个location。
posted @ 2010-11-08 19:50  猎魔人  阅读(205)  评论(0编辑  收藏  举报