Prevent web.config Inheritance from Root Web Applications (for Virtual Path Applications)
<?xml version="1.0"?>
<configuration>
<!-- Disable Inheritance -->
<location path="." inheritInChildApplications="false">
<system.web>
<compilation debug="false" />
<!-- other configuration attributes -->
</system.web>
</location>
</configuration>