As we all know, using IIS in XP Professional cannot create multiple sites, although we can use "virtual directory" for debuggingProgramBut it is not convenient in many cases. Today, I accidentally discovered a multi-site tool-IISADMIN: http://www.firstserved.net/download/iisadmin.zip.
The program is very simple and the interface is as follows:
Use "CREATE" to create a new site. You can set the site description, port number, and site location. The software does not have the "edit" function. If you need to edit the site, you can use IIS to edit it, after enabling IIS, you will find that all the sites you just created are displayed in the list.
Click "start" in the software to start the selected site. A careful friend can note that only one site can be started at a time. If we start two sites in IIS at the same time, an error message "request not supported" will appear. Therefore, this software cleverly solves the problem that IIS cannot create multiple sites in XP (this should be blocked by IIS ), however, it does not fundamentally solve the problem of starting multiple sites at the same time. I think this should be a restriction on IIS at the underlying layer of the XP system, and basically cannot be broken through. However, this is enough for us to debug the program.
At the same time, the software can restart the IIS function. In fact, it calls the iisreset program included in the software, which is similar to the built-in function of IIS6 and is very convenient. The software also supports Windows 2000 Professional and Windows Vista business systems.
Note thatIf you use IISADMIN to delete a running site, the following error occurs when you start another site:
At this time, the red icon will appear on all sites in IIS. No matter what you do, the message "request not supported" will be displayed ". This should be a software bug. The solution is to restart IIS.
Source: http://www.javatang.com/archives/2007/11/19/4845244.html
Author: jet mah from Java Hall