Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Default web.config created when provisioning a new WSS/SPS site

  Asked By: Krista Porter         Date: Mar 27, 2006      Category: Sharepoint      Views: 436
 

When you create a new WSS/SPS site, SharePoint sticks a default web.config in the root of the web. Is this file the same every single time you create a new site? Is it possible to modify this on a farm-by-farm basis and have all sites/portals that are created use this new one?

For example, are ALL sites that are created set to use WSS_Minimal by default as the CAS policy?

Tagged:                  

 

1 Answer Found

 
Answer #1       Answered By: Chantal Rosa          Answered On: Mar 27, 2006       

When you first extend an IIS web  site, sharepoint  will use the
web.config found in the config  folder of the "60 hive". There are
several variations here but I haven't researched how the different
template options may effect which .config file  is chosen.

Try changing the trust level in this web.config and then extend a new
IIS Web site. You will see the change in the default  web.config used for
that new Virtual Server. Unfortunately, I believe that this is a
farm-level only option. It would be great if you could specify a
different web.config for a custom site  definition but I don't know how
to do this.

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].