Using ASP (Active Server page) to write personal web pages has become a dream of more and more personal web authors. ASP is a kind of web script language, its most important characteristic is database drive and dynamic interaction. The introduction of ASP will enable your personal site to have a strong data exchange and dynamic interaction capabilities.
Turn your personal computer into a personal Web server
Perhaps a lot of friends think this is an incredible thing, in fact, it is not difficult to do, the author is based on Windows Professional as an example to illustrate the implementation method.
A useful Web application development component Iis-internet Information Service (Internet Information Service) is integrated in Windows Professional with a version of 5.0. Compared to earlier versions, the speed and security of the operation are greatly improved. Windows 2000, which contains Internet information services, is one of the easiest ways to share information and run powerful applications on the Web. IIS contains functional components such as the World Wide Web server, File Transfer Protocol (FTP) server, SMTP virtual server, ASP, Personal Web Manager (Personal Web Manager).
As long as you have IIS installed, your personal computer becomes a personal Web server. The installation method for IIS is simple, you can follow these steps: Start → control Panel → add/Remove Programs → add/Remove Windows components, and then in the Components List dialog box, select Internet Information Services, administration and monitoring tools, and Script Debugger. Clicking on the "OK" button on the Windows Components dialog box, Windows Professional will automatically start installing and configuring IIS.
After IIS is installed, you will find three more icons in Administrative tools in Control Panel, namely Internet Services Manager, Personal Web server (Personal Web server), and server externsions. Through them, you can manage and control your personal Web server.
• Set the IP address of a personal Web server
Double-click the Internet Service Manager icon to enter the Service Manager dialog box. You will see that there is a default FTP site, Default Web site, and a default SMTP virtual server under the computer identifier.
Select the Web site, press the right mouse button, select Properties from the pop-up menu, go to the Properties dialog box and select the Web site option, and then click the IP Address Drop-down box and select "127.0.0.1" as the IP address for the Web site. In this way, you can access the Web site on this computer by typing "http://LocalHost/" or "http://127.0.0.1/" in IE browser.
• Set personal web Manager shortcuts
Double-click the Personal Web server icon to see a dialog box like Figure 1 that describes information about your Web server.
Figure 1 Person Web Manager dialog box
Figure 1 shows the physical storage location of the Web site as the C:\Inetpub\WWWRoot directory on this computer, its active status is started (meaning accessible), and displays the monitoring information associated with the current Web site.
Because it is important to use Personal Web Manager to start and shut down a Web site frequently during the debugging of an ASP program, it is necessary to display the Personal Web Manager in the taskbar and create a quick way into the personal Web Manager. Set the steps as follows: From the Control Panel to the Personal Web Manager, select the "Show taskbar icon" option in the Properties menu. This way, each time you enter Windows, the Personal Web Manager shortcuts are displayed in the taskbar, and you can double-click the shortcut icon to quickly enter your personal Web Manager.
Well, so far, you've got access to your IP address for 127.0.0.1 Web site. Start IE and type http://127.0.0.1 in the address bar to see what happens.