Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/05/2003, 09:28
orion180
 
Fecha de Ingreso: mayo-2003
Mensajes: 1
Antigüedad: 22 años
Puntos: 0
Creacion de sitios virtuales en ASP y permisos...

Estoy intentando crear sitios web desde una pagina ASP, crearlo me funciona bien , y le doy permisos a cada uno. Veamos un ejemplo:
creacion de un servidor virtual llamado "golum" en c:\micarpeta
<%
Set ServiceObj = GetObject("IIS://Localhost/W3SVC")
Set ServerObj = ServiceObj.Create("IIsWebServer",6)
ServerObj.ServerSize = 1
ServerObj.ServerComment = "golum"
ServerObj.ServerBindings = ":80:golum_root"
ServerObj.SetInfo()
Set VDirObj = ServerObj.Create("IIsWebVirtualDir", "ROOT")
VDirObj.Path = "c:\micarpeta"
VDirObj.AccessRead = True
VDirObj.AccessWrite = True
VDirObj.EnableDirBrowsing = False
VDirObj.SetInfo()
ServerObj.Start()
%>
Ahora bien, alguien sabe como borrar golum una vez creado?
Un saludo