Windows2003 under Web server configuration

  

First, IIS6.0 Overview
IIS 6.0 is included in the four versions of the Windows 2003 server "Enterprise, Standard, Data Center and Web Edition", it can not run on Windows XP, 2000 Or on 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 installation.
Second, IIS6.0 installation process
We still use the familiar way to install in the control panel, I feel this way is more flexible than in the "Manage your server" window
some. 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 focused on Within, you can refer to related articles.
1. Like other windows platforms, the default Web site has been started. But please note that IIS6.0 is initially installed to support only static content (that is, it can not display ASP-based web content), so the first thing to do is to open 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 Interpretation: 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 application
WAP is the Wireless Application Protocol, which is 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 communication 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, through the new button to register the MIME type, OK.
3. Remote maintenance web interface support.
That is, the administrator can remotely enter the management page of the IIS 6.0 web interface, which is a very important function 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, about the specific settings of the website: such as authentication and access control, enabling website content expiration control, setting the home directory path and giving users access rights, etc., due to the previous IIS in XP environment Detailed configuration information is very complete, so there is no detailed description, please check the relevant information
Fourth, the relevant settings to solve the problem
Although the use of IIS6.0 configuration WEB service is equally simple, but there are still many friends more or less Some problems. The following is a summary of the author's collection of 3
common access issues:
1. Phenomenon: HTTP error 404 - File or directory not found
Analysis solution: This type of problem is 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
Analysis and resolution: The cause of this type should be the problem of authentication settings, generally set to anonymous authentication. This is the authentication method used by most sites.
3. Phenomenon: similar to Server.MapPath () error 'ASP 0175: 80004005' error message
Analysis and resolution: IIS6.0 for security reasons, the parent path is closed by default (such as .. /format Statement), just in the "home directory - configuration - options", "will enable parent path" check box.

Copyright © Windows knowledge All Rights Reserved