Re: Inherited web.config ASP.NET 2.0
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 10 Aug 2006 12:09:57 GMT
Hi Juan,
Thanks for your effort.
As for your following comments:
=====================
"If you place a setting in inetpub\wwwroot\group1\web.config,
the setting will be local to the \group1 directory, but the
subdirectories below it will inherit from their application's root
directory."
( working on the assumption that the subdirectories are separate apps,
therefore they each have separate application roots, so they would *not*
inherit from a directory placed higher than them in the directory tree)
======================
Do you mean if the sub directories are configured as "application", they
won't inherit the web.config setting from their parent (no matter they're
physical sub dir or the parent virtual dir or not)?
Actually, you can see(in the screenshot I attached) that those leaf
applications directories( "DemoWebsite", "IISTestSite", "NewTestSite"....)
are all configured as single application themselves. However, they can
still get the settings from the web.config files in the super path(in V2,
in ASPNET in Websites super parent dirs). The page in those applications
are accesed through the following style url.
http://localhost/ASPNET/V2/WebSites/leafwebappname/Default.aspx
In addition, I've also tested through a linked sub application (its
physical directory is outside the parent application/virtual dir 's
physical path, see the "linkedsubweb" in my new attached screenshot), it
can also get the inherited values from parent web.configs.
Therefore, I still think web.config's inheritance in a IIS virtual
directory tree is certainly supported.
So far I'm still wondering what's the exact directory structure in IIS and
physical disk in Ben's test environment.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Attachment:
new_test_sh.JPG
Description: Binary data
- Follow-Ups:
- Re: Inherited web.config ASP.NET 2.0
- From: Juan T. Llibre
- Re: Inherited web.config ASP.NET 2.0
- References:
- Inherited web.config ASP.NET 2.0
- From: Ben
- RE: Inherited web.config ASP.NET 2.0
- From: Steven Cheng[MSFT]
- Re: Inherited web.config ASP.NET 2.0
- From: Ben
- Re: Inherited web.config ASP.NET 2.0
- From: Juan T. Llibre
- Re: Inherited web.config ASP.NET 2.0
- From: Steven Cheng[MSFT]
- Re: Inherited web.config ASP.NET 2.0
- From: Juan T. Llibre
- Inherited web.config ASP.NET 2.0
- Prev by Date: IIS 6.0 Seperate Pools! How to go about doing it in Windows XP?
- Next by Date: MaxConnectionsPerServer
- Previous by thread: Re: Inherited web.config ASP.NET 2.0
- Next by thread: Re: Inherited web.config ASP.NET 2.0
- Index(es):
Relevant Pages
|
Loading