1. we could tell to parent domain web.config to not inherit all the element
<location path="." inheritInChildApplications="false"><system.web>
...
</system.web>
</location>
Note: by doing this, all the element will not be inherited to sub domain.2. we could clear the child domain to not use the inherited element from parent config
<httpModules><clear/></httpModules>
Thanks to http://www.aspdotnetfaq.com/Faq/how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx
No comments:
Post a Comment