Hi i want to include multiple location tag in my web.config for which i want to include an external file which contain these location tags and then refer this external file in my web.config please help as i know file attribute is avail for appsetting and configsource for some other tags but how to go for location tags like the below mention locations tags will be there in external file please ignore commented part as it will be uncommnted as required:
<!--location path="Default.aspx"/>
<system.webServer>
--><!--<httpRedirect enabled="true" destination="http://localhost:85/" httpResponseStatus="Permanent" />--><!--
<httpRedirect enabled="true" exactDestination="true" destination="http://localhost:85/Default2.aspx$Q" httpResponseStatus="Found">
--><!--<add wildcard="*.aspx" />--><!--
</httpRedirect>
</system.webServer>
</location>-->
<!--<httpRedirect enabled="true" destination="http://localhost:85/" httpResponseStatus="Permanent" />-->
<location path="ExternalWeb.Config">
<system.webServer >
<!--<httpRedirect configSource="ExternalWeb.Config"></httpRedirect>-->
</system.webServer>
</location>