Win2003 IIS configuration tutorial (Figure)

  
Like other windows platforms, windows2003 can also use third-party software or the system comes with IIS6.0 two ways to set up a WEB server; at the same time windows2003 also has a web version, dedicated to web-based services The various web interface applications are extremely functional. This

Like other windows platforms, Windows 2003 can also use third-party software or the system to bring up IIS6.0 two ways to set up a WEB server; at the same time windows2003 also has a web version, dedicated to various web interface applications based on web services The function is extremely perfect. This article takes the system with IIS6.0 as an example. IIS6.0 has brought us many exciting changes. We slowly came to understand the erection process.


First, IIS6.0 overview.

IIS 6.0 Windows2003 server in four versions of & ldquo; Enterprise Edition, Standard Edition, Datacenter Edition and Web Edition & rdquo; are included, it can not run on Windows XP, 2000 or NT . Except for the Windows 2003 Web version introduced at the beginning of this article, the rest of Windows 2003 does not install IIS by default; its difference from the previous IIS version is also very large, more significant is the provision of POP3 service and POP3 service Web manager support. In addition, there are three ways to install IIS under Windows 2003: the traditional “Add or Remove Programs” “Add/Remove Windows Components” method, use “Manage Your Server>; Wizard and Unattended Smart An

装装.

two, IIS6.0 installation process.

we are still using the familiar control panel installed in the manner of conduct, I feel this way than in the & ldquo; Manage Your Server & rdquo; window

Installation to be flexible . In the control panel, select “Add or Remove Programs> Add/Remove Windows Components>; double-click “Application Server", double-click “Internet Information Service", select “World Wide Web Service” ; (Note: This option can be further selected for screening, please choose according to your needs, as shown below), click OK to complete the installation.

Third, configure IIS6.0.

Description: The configuration described in this article focuses on some considerations or important settings, that is, compared with the previous IIS version; and for the specific configuration of a complete WWW service process is not the focus of attention, you can refer to related articles.


1. Like other windows platforms, the default Web site has already started. However, please note that IIS6.0 is initially installed to support only static content (that is, it cannot display ASP-based web content), so the first thing to do is to turn on its dynamic content support. Select “Start”-“Program”-“Administrative Tools”-“inter Information Service Manager'; on the left side of the open IIS management window, click "web service extension"; as shown below It is indicated that the item "located in the folder "ASP.NET v.1.1.4322" and "Active Server Pages" is enabled (click to allow).

ASP .NET Explanation: This is a new generation of Microsoft server-side scripting environment. It provides a new programming model and structure that enables Web developers to build and deploy enterprise-class Web applications that are more secure, flexible, and stable than ever before.


2. Implement WAP applications.

WAP is the Wireless Application Protocol, the wireless application protocol. It is also an open global standard that enables users of mobile phones and other wireless terminals to quickly and securely access Internet and intranet information and other communications services. Configure the path to the last content box under the HTTP header in the Site Properties window “MIME Type”. Click on the lower right corner & ldquo; MIME type & rdquo; as shown below, register the MIME type with the new button, and you can confirm.

Note: If IIS does not currently support WAP, then go to http://www.gmcc.net/wap/m3stp06.zip to download the WAP browser and install it.


3. Remote maintenance Web interface support.

The administrator can remotely access the management page of the IIS 6.0 web interface, which is a very important feature in management and maintenance. In the IIS installation step described above, select the "World Wide Web Service" step, double-click "World Wide Web Service" to select "Remote Management (HTML)" from it (Note: To install “ Remote Management) Component, your windwos2003 primary partition must be NTFS). After installation, you can enter the https://server name or IP address: 8098 in the browser to access the Web interface management page of IIS 6.0, and further perform operations such as creating, editing, and deleting user and group lists on the server. .


In addition to this, specific settings for the website: such as authentication and access control, enabling website content expiration control, setting the home directory path and giving access to users, etc. Because the detailed configuration information of IIS in the XP environment has been very complete, it is not detailed, please check the relevant information.


Fourth, the related settings are resolved.

Although the use of IIS6.0 to configure the WEB service is equally simple, there are still many friends who have more or less problems. The following is a summary of the author collected three common interview questions:


1. phenomenon: HTTP Error 404 - File or directory not

found Analytical solution: These types of problems are very common. The reason is that in IIS6.0, the "web program extension" is added, and many of the services are prohibited by default, as mentioned earlier in this article. Enable “Active Server Pages> directly in “webprogram extensions".



2. phenomenon: HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration

Analyze and solve: the cause of such status should be To verify the problem of setting up, it is generally set to anonymous authentication, which is the authentication method used by most sites.




3. phenomenon: Similar Server.MapPath () error 'ASP 0175: 80004005' error message

analysis solution: IIS6. 0 For security reasons, the parent path (such as the statement in ../format) is turned off by default, just by selecting "Enable Parent Path" in the "Home Directory-Configuration-Options" option.

Copyright © Windows knowledge All Rights Reserved