Does anyone have an ADSI script to configure FP2k extensions on IIS5?
I host several websites on a win2k advanced server. I am creating an
administration web site with vbscripts to automate a few administrative
tasks. One of the tasks that I want to automate is the ability to
enable/disable the frontpage server extensions. I am using adsi to change
the IIS metabase setting. I can successfully change the setting and then
read it, and it has changed. When I view the properties of the site through
the MMC, it shows that the fp server extensions are not configured. I am
wondering if there are additional attributes that need to be configured
other than just the .frontpageweb setting in the metabase. The following is
the code that I am using which 'works' in that it changes the metabase
setting. If you know of any other settings that need to be set when using
ADSI to enable/disable the frontpage extensions, I would greatly appreciate
it if you shared with me. Thank you.
code in use:
Set w3svc = GetObject("IIS://" & vComp & "/w3svc")
set site = w3svc.GetObject("IIsWebServer", vSite)
' site.FrontPageWeb = true ' this is another line I was testing with
site.FrontPageWeb = 1
4. MAC SYSOPS-MAC USERS/BECOME EXCLUSIVE EARTHWIDE HUB YOUR AREAIf you are a Mac Sysop or mac user and would like to, BECOME THE EXCLUSIVE EARTHWIDE HUB IN YOUR AREA FOR PROFIT AND FUN,we have (4) four Excellent, low cost, Sysop programs to choose from.