Creating a test area / subdomain

Discussion in 'ASP.NET / ASP.NET Core' started by Will1968, Mar 21, 2011.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    I want to create a test area in my live site.

    If possible I want to inherit as little as possible from the web.config in the root directory. So that I can start a fresh web.config with as little fluff in it as possible.

    I have read this post http://www.kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance (<location path="." inheritInChildApplications="false">) but it sort of implies that I will inherit anything outside the <system.web> area.

    Is this true?

    Is it possible to disinherit any other settings in the web.config. Or preferably all.

    Thanks,

    Will
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

  3. My Solution

    In the end I created 2 folders in the root called App1 and App2. FTPed the new app to the App2 folder. Then Moved the orig app to the App1 folder and the files in App2 into the root folder temporarily.

    I only needed a minute to test one thing.

    Afterwards reversed the whole thing back to the original situation.

    I will have a look at those links.

    Thanks,

    Will
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page