Multi Web.config files

Can we have multi web.config files in the same website?!

Yes you can "for example one web.config for root website and another one for a subfolder"

How can we do so with out conflict or getting errors?

– First you will need to config this subfolder as application in the IIS

– Second write <location path="." inheritInChildApplications="false"> before <system.web> and </location> after </system.web> in the root web.config file:



kick it on

4 thoughts on “Multi Web.config files

Comments are closed.