|
1. How to install IIS in Win2000? IIS of Win2000 is version 5.0 and is an ASP development platform. The installation method is to insert the Win2000 or WinXp installation disk, click "Start> Settings> Control Panel> Add/delete Programs> Add/delete Windows components", and then appear, check IIS for the first item:Figure 1 The following message is displayed: At this time, you must find the I386 directory, and you need to re-find the path for both times, and the installation is complete all the way to be sure ﹗ 2. How to install IIS In WinXP? WinXP is difficult to install IIS. I have seen two professional versions, one of which can be installed normally like Windows2000; the other, the IIS installation item is not visible when you add/delete Windows components. The detailed steps are as follows: 1) First, click here to Download the driver from this website, 236 K: [Download] 2) After decompression, you can get two files. Suppose your XP system is installed in the E: \ Windows directory. 3) Copy iis. inf to the E: \ Windows \ inf directory. 4) Copy iis. dll to the E: \ Windows \ system32 \ setup directory. 5) then click here to Download the ADMXPROX. DL _ file: [Download], and save it to any path, as long as it can be found during installation. 6) Then insert the WinXP installation disk and install it like Win2000. The steps are as follows. · After the installation, if the Internet Service Manager is empty and cannot connect to the computer, you have to change to an XP installation disk and reinstall the XP system. 3. How to use IIS? (Set virtual directory) You need to create a virtual directory. Note that the settings of Win2000 Professional Edition and Server Edition are different. Here, the most common professional edition is used as an example: For example, my computer name is "zic", and my d disk contains the "my files" folder, which is named zp. After a virtual directory is set, http is available: // zic/zp to access it.If you do not know your computer name, you can right-click my computer on the desktop → properties, the computer name can also be replaced by a local IP address 127.0.0.1 or localhost. To set a virtual directory, Open Control Panel> Administrative Tools, select "Internet Service Manager", and right-click "Default Web site" (or default website, select "New → virtual directory", write the alias zp, find D: \ My files in the directory, and tick "execute, write, browse. Click OK. The key steps are as follows: Note here ── ─ → Note that in resource manager, the root directory of your home page can be in Chinese (for example, "D: \ My files "), however, the content of the root directory or the next level, that is, the folder and file name of your home page, cannot be displayed in Chinese. Then you can use http: // zic/zp or http: // 127.0.0.1/zp or http: // localhost/zp to access your homepage. Next let's start the test: Create a webshu.txt file under "D: \ my portfolio, then change it to webshu. asp, and write a program. For example: For example, if my computer name is zic, use these three methods to access this file locally. The running result is as follows:
127.0.0.1/zp/webshu. asp |
Zic/zp/webshu. asp |
Localhost/zp/webshu. asp |
4. How do I set the default document? It is suggested that you set the folder's document to index.htm. You can browse this folder later. For example, if the file "D: \ my work \ index.htm" is accessible only through http: // zic/zp, http: // zic/zp/index.htm is the same. The method is to create a virtual directory and expand "Default Web tracking. · For the default document, you can add multiple default documents. The higher the default document, the higher the priority. For example: Index.htm Index. asp Note: When you cannot find index.htm, it will find the index. asp file. · How to uninstall IIS Open "Start → settings → Control Panel → Add/delete programs → Add/delete Windows components", 1, remove the check box on the first IIS, and click Next to uninstall. 5. How to install PWS in Win98 and set virtual directories? 1. Find the "Win98 Full Edition" installation disc, which contains the add-ons \ pws folder. In the PWS folder, double-click setup.exe. The installation is complete. 2. Find C: \ WINDOWS \ SYSTEM \ inetsrv \ pws.exe and open "Personal Web Manager ". 3. The current pws status is displayed in "publish" on the main screen. If it is stopped, click Start ". 4. You need to set a virtual directory. Click "advanced" in the personal Web Manager and select "add". The alias is very important. For example, the alias is spa. Click Browse to find the folder where your home directory is located, for example, D: \ my work \ My web page. 5. Check the read, execute, and script. 6. Check "enable default document" and "allow browsing directory. The document is index.htm, index. asp. 7. Now debugging is complete. Then, enter http: // 127.0.0.1/spa in IE to view your ASP Webpage. (All Rights Reserved. Thank you for reading this article !) |