Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
618 B

  1. /////////////////////////////////////////////////////////////
  2. // Update the default site for use on the Internet UDDI site
  3. //
  4. var shell = new ActiveXObject( "WScript.Shell" );
  5. //
  6. // Get the Root of the default site
  7. //
  8. var site = GetObject( "IIS://"+shell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )+"/W3SVC/1/Root" );
  9. //
  10. // turn off ntlm
  11. //
  12. site.Put( "AuthNTLM", "0" );
  13. //
  14. // Set the path of the default site to the uddi install.
  15. //
  16. site.Put( "Path", shell.ExpandEnvironmentStrings( "%SYSTEMDRIVE%" ) + "\\inetpub\\uddi\\webroot" );
  17. //
  18. // Commit the changes.
  19. //
  20. site.SetInfo();