Configure IIS Programmatically: Home Dir and Script maps

sde

Well-known member
Joined
Aug 28, 2003
Messages
160
Location
us.ca.fullerton
can someone point me in the right direction on how to modfy the IIS values for the default website? specifically i need to change the home directory, and add a script map.

this is for IIS 5 at the moment, ill later need to do it for IIS 6, but that should be easier since the meta data is xml based.

I have seen examples which use DirectoryServices.DirectoryEntry, but only for creating new virtual sites. All I need to do is edit the existing default site.

On a somewhat related issue, My version of visual studio ( 2003 ) does not have the System.DirectoryServices namespace available.. I am still trying to figure out why that is though.

Thanks in advance. Any insight is greatly appreciated.
 
Back
Top