IIS 6.0 installation and website Setup tutorial [graphic]_win server

Source: Internet
Author: User
Tags anonymous php and versions

IIS 6.0 website Erection

IIS is a Microsoft launched a set of Web, FTP, SMTP server integration System components, mainly bundled in Microsoft's Windows 2003, such as server operating system. Windows 2003 is not only integrated with IIS 6.0, but also comes with a web version of Web interface applications dedicated to Web services that are perfectly functional.

One, IIS 6.0 Overview

IIS 6.0 is included in four versions of the Windows Server 2003 server: Data center, Enterprise, Standard, and web. Also, one of the most common IIS 6.0 issues: IIS 6.0 cannot run on Windows XP, 2000, or NT. In addition to the Windows 2003 Web version that is described at the beginning of this article, the remaining versions of Windows 2003 do not install IIS by default, and are significantly different from previous versions of IIS, notably the provision of POP3 services and POP3 Service Web Manager support. In addition, there are three ways to install IIS under Windows 2003: Traditional Add or Remove Programs-add/Remove Windows components, take advantage of the Manage Your Server Wizard, and use an unattended smart installation.

Second, IIS 6.0 installation Process

We still use the familiar way of installing in the Control Panel. In the Control Panel, select Add/Remove Windows components in Add or Remove Programs. Double-click Application Server, and then double-click Internet Information Services to select World Wide Web Services (Note: This option can be further filtered, please select according to your own needs, as shown in Figure 1), click OK to install complete.

Figure 1

Third, the configuration IIS 6.0

1. As with other Windows platforms, the default Web site is now started. But please note that IIS 6.0 was initially installed to support static content only (that is, the content of ASP-based Web pages is not displayed properly), so the first thing to do is to turn on its dynamic content support features. Select Start-Program-Administrative Tools-inter Information Services Manager, and in the left side of the Open IIS Management window, Web service extensions, as shown in Figure 2, place the mouse item "asp.net v.1.1.4322" and "Active Server Pages" Entry enabled (point allowed). In addition, the installation of asp.net2.0,php and CGI configuration, etc., is not explained here in detail.

Figure 2

2. Realize WAP Application

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 information and other communications services on the Internet and intranet. The configuration path is in the HTTP Last content box "MIME type" of the Web Site Properties window. Click on the "MIME type" in the lower right corner, as shown in Figure 3, by creating a new button to register the MIME type, OK. Also, downloading files like. Iso,.exe needs to be added here. For example, Add. iso file download, the extension is:. iso, the type is: application. The following illustration adds. ISO registration and the effect of configuring WAP:

Figure 3

Four The erection of the website

This section provides a detailed explanation of the site's erection and simple settings (take ASP sites as an example):

Open Internet Information Services (IIS) Manager, click on the site to create a new site, we are here for the Web, click Next to set IP and port: IP for the server IP, port for the default 80, host header value for the site domain name.

Figure 4

Click Next to set the site access path, we are here D:\web\test:

Figure 5

Click Next to access the site, generally we select the first two items, if you want to run CGI must select the third item:

Figure 6

Click Next to complete the new site.

The next step is the access rights and some basic settings for the site:

A. Access rights:

Turn on my Computer properties-> Admin-> Local Users and Groups-> users, new Web Access account, password we set to 123, it is best to add it as the Guest group (generally default to the Users group). As shown in figure:

Figure 7

Then open IIS, right click on the Web site-> rights-> Add, enter the Web (here you can use the "advanced"-> immediately find to add), click the OK button to add complete, in addition to full Control permissions are not given, the remaining permissions are given. As shown in Figure 8.

To renew the Web subfolder after permission is added: Permission-> advanced, select the option box shown in the following figure, click OK.

Finally, add anonymous access permissions. Right-click the Web site-> Properties-> Directory Security-> Edit, enter the user name Web, password 123 (here username and password to be set with the admin), click OK to add complete.

At this point, the site's access rights are set up, and now your site can be accessed.

Figure 8

B. property settings for a Web site

Right-click the Site-> property:

(1) Directory security: This is mainly anonymous access settings, as already mentioned, here is not much to say.

(2) HTTP headers: This attribute is also mentioned earlier, generally used more is the MIME type of addition, here is not much to introduce.

(3) ASP.net: Used to set up the ASP version.

(4) Document: Used to add the default homepage of the site.

(5) Performance: Bandwidth limits and network connectivity limits.

(6) ISAPI filter: ASP general default, PHP must be added here.

(7) Website: the website logo-> Advanced, you can add and modify the bound domain name;

Enable logging is generally set to off.

(8) Home directory: You can edit the Web site program path, general to record access, read, indexing resources permissions;

Application settings: Note that the Execute permission is "pure script"

* Configuration: 1. Mapping-> Application Extensions (download of various file formats, if PHP

program, you need to add a. dll file here

2. Options: Enable session state, enable buffering, enable the parent path (must choose) all tick.

3. Debugging: Error message selection for general script errors:

The simple setting for this site property is set to complete.

Five. a common problem

1. Parent Path not enabled

Symptom Example: Server.MapPath () error ' ASP 0175:80,004,005 '

The Path character is not allowed

/0709/dqyllhsub/news/opendatabase.asp, line 4

The character ' ... ' is not allowed in the Path parameter of MapPath.

Reason Analysis:

Many web pages use things like. /formatted statement (that is, the page that returns to the previous layer, which is the parent path), and IIS6.0 for security reasons, this option is turned off by default.

Workaround: In IIS, the properties-> the home directory-> configuration-> option. Check the "Enable Parent path" front. Confirm the refresh.

As shown in the following illustration:

2:asp Web extensions are improperly configured (same applies to asp.net, CGI)

Examples of symptoms:

HTTP Error 404-file or directory not found.

Reason Analysis:

The new Web application extension option is added to IIS6.0, where you can allow or disallow ASP, ASP.net, CGI, and IDC programs, which are prohibited by default.

Workaround:

In the Web service extension in IIS, select Active Server Pages and click Allow. As shown in the following illustration:

3: Improper configuration of identity authentication

Examples of symptoms:

HTTP Error 401.2-Unauthorized: You are authorized to view the page.

Reason Analysis:

Generally caused by the anonymous access rights and the site's access to the account and password inconsistencies caused, and before the specific operation has been mentioned.

Workaround:

The new Web Access account and password in the admin are consistent with the account and password in anonymous access and added to the site's access rights.

4:IUSR account is disabled

Examples of symptoms:

HTTP Error 401.1-Unauthorized: Access denied due to invalid credentials.

Reason Analysis:

Because the user is using anonymous access account is the IUSR_ machine name, so if this account is disabled, will cause users inaccessible.

Solution:

Control Panel-> Management tools-> Computer Management-> Local Users and groups, enable IUSR_ machine name account.

5.: MIME Setup issues cause some types of files cannot be downloaded (for example, ISO)

Examples of symptoms:

HTTP Error 404-file or directory not found.

Reason Analysis:

IIS6.0 has canceled support for some MIME types, such as ISO, causing client downloads to go awry.

Workaround:
The property->http header->mime type-> new in IIS. In the dialog box that follows, the extension is filled in. The Iso,mime type is application.

In addition, firewall blocking, ODBC configuration errors, Web server performance restrictions, thread restrictions, and other factors that cause the IIS server can not access the possible reasons, here is no longer one by one feed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.