Hi I have a folder containing a index.html file and some images in one folder and a index.php and some images in another folder, i want to register these folders as websites programmatically on my local system (something similar to creating a new Virtual Directory in IIS). which namespace or class would i use to do so to allow me to run the website through a webbrowser using for eaxmple http://localhost/mysite/ as url TIA Barry
Why would you want to do that programattically? Just make a new virtual directory and you are all set. "Barry" wrote in message news:eODdW1f%23IHA.4912@TK2MSFTNGP04.phx.gbl... > Hi > > I have a folder containing a index.html file and some images in one folder > and a index.php and some images in another folder, i want to register > these folders as websites programmatically on my local system (something > similar to creating a new Virtual Directory in IIS). > > which namespace or class would i use to do so to allow me to run the > website through a webbrowser using for eaxmple http://localhost/mysite/ > as url > > TIA > Barry > > > >
My app programmatically creates new websites based on users choice of selected Categories, the index.html is a template file in which the source is updated, hence i need end-user to create and view the website at their end, not at my end. "Scott M." <s-mar@nospam.nospam> wrote in message news:%23uVwbji%23IHA.872@TK2MSFTNGP05.phx.gbl... > Why would you want to do that programattically? Just make a new virtual > directory and you are all set. > > > "Barry" wrote in message > news:eODdW1f%23IHA.4912@TK2MSFTNGP04.phx.gbl... >> Hi >> >> I have a folder containing a index.html file and some images in one >> folder and a index.php and some images in another folder, i want to >> register these folders as websites programmatically on my local system >> (something similar to creating a new Virtual Directory in IIS). >> >> which namespace or class would i use to do so to allow me to run the >> website through a webbrowser using for eaxmple http://localhost/mysite/ >> as url >> >> TIA >> Barry >> >> >> >> > >