kdarty
4/8/2015 - 4:53 PM

Prevent web.config Inheritance from Root Web Applications (for Virtual Path Applications)

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>