posted on Sunday, December 12, 2004 1:56 PM by Saravana

Configuration settings for web site administration tool in whidbey

Configuration settings for web site administration tool are stored in machine.config file in <WebsiteAdministrationTool> section. Sample configuration of websiteadministration tool is show below

<webSiteAdministrationTool 
defaultUrl=”/aspnet_webadmin/2_0_40607/default.aspx”
enabled=”[true|false]”
localOnly=”[true|false]”
     >
      <categories>
            <category navigateUrl="default.aspx" title="Home" />
            <category navigateUrl="security/security.aspx" title="Security" />
            ….
      </categories>
 
      <authorization>
            <allow users="*" applicationPath="*" />
      </authorization>
  </webSiteAdministrationTool>


Default url is the url where web site administration tool is installed, by default it is /aspnet_webadmin/2.0*. Localonly attribute is for mentioning whether this site can be accessed only in local machine.(i.e. using http://localhost). Authorization element is for setting authorization setting for this web site.  If you want to allow only administrators to access this tool, then you can configure here. Categories element is to register the categories tab which appears in this tool. You can add your own tab, in which you can allows users to do some administration task specific to your web site alone.

Updated on 22/1/05 : Removed physicalPath from WebAdministrationTool settings.

Comments