IIS can be used to test server-side programs using ASP, ASP.NET, PHP, etc. Several steps are required: The directions below are for Windows 7 and IIS7.
1 . Control Panel>Programs>Programs and Features>Turn Windows Features On and Off - Under Internet Information Services, some of these need to be turned on. On my machines, I have the following items turned on:
2. When you type http://localhost, IIS will display what is at the root of c:\inetpub\wwwroot
To use IIS with files located elsewhere it is convenient to create a virtual directory in IIS. To do this, Contro Panel>System and Security>Administrative Tools>internet Information Services (IIS) Manager. Right click on Default Web Site and choose Add Virtual Directory. Give a name to the directory and specify the physical path. If this virtual directory is named bill, you would access the directory in the browser by typing http://localhost/bill
Revised: March 10, 2010. Comments to Bill Pegram, bill@billpegram.com