IIS 6.0 installation and website setup tutorial [Image and text]

Source: Internet
Author: User

In IIS 6.0Website Construction

IIS is an integrated system component launched by Microsoft to set up WEB, FTP, and SMTP servers. It is mainly bundled in Microsoft's Windows 2003 and other server operating systems. Windows 2003 not only integrates with IIS 6.0, but also comes with a web version, which is specially used for various web interface applications of web Services. The function is extremely perfect.

I,In IIS 6.0Overview

IIS 6.0 is included in four versions of Windows Server 2003 Server: Data Center edition, Enterprise Edition, Standard Edition, and Web edition. In addition, the most common problem with IIS 6.0 is that IIS 6.0 cannot run on Windows XP, 2000, or NT. In addition to the Windows 2003 Web version introduced at the beginning of this article, IIS is not installed in other versions of Windows 2003 by default, which is quite different from the previous versions of IIS, obviously, POP3 Service and POP3 Service Web manager are supported. In addition, there are three ways to install IIS in windows 2003: the traditional "add or delete programs"-"Add/delete Windows Components" method, use the "manage your servers" wizard, and use unattended smart installation.

II,In IIS 6.0Installation Process

We still use the familiar installation method in the control panel. In the control panel, select "add or delete programs"> "Add/delete Windows Components ". Double-click "Application Server", double-click "Internet Information Service", and select "World Wide Web service" (Note: This option can be further selected for filtering. Please select as needed, 1), click OK to complete the installation.

Figure 1

Iii. ConfigurationIn IIS 6.0

1. Like other windows platforms, the default Web site has been started. However, you must note that IIS 6.0 initially supports only static content (that is, ASP-based webpage content cannot be normally displayed). Therefore, you must first enable its dynamic content support function. Choose Start> program> Administrative Tools> inter Information Service Manager, and click web Service extension on the left of the IIS Management window, as shown in figure 2, place the cursor in the "ASP. NET v.1.1.4322 and Active Server Pages are enabled (click to allow. In addition, the configuration of asp. net2.0, php, and cgi is not described here.

Figure 2

2. Implement WAP applications

WAP is a Wireless Application Protocol. This is also an open global standard that allows users of mobile phones and other wireless terminals to quickly and securely obtain information on the Internet and enterprise intranets and other communication services. The configuration path is in the "MIME type" of the last HTTP Content box in the website Properties window. Click "MIME type" in the lower-right corner, and click "3" to register the MIME type. Click "OK. To download files such as .iso..exe and so on, you must add them here. For example, to add a. iso file for download, the extension is. iso, and the type is: application. For Add. iso registration and configure the wap effect:

Figure 3

4. Website Construction

This section provides a detailed description of website setup and simple settings (using an asp site as an example ):

Open the Internet Information Service (IIS) manager, right-click the website, right-click the website, and choose "web". Click "Next" to set ip address and port: ip address as the server ip address, and port 80 by default, the Host header value is the website domain name.

Figure 4

Click Next to set the Website access path. Here we are d: \ web \ test:

Figure 5

Click Next to access the website. Generally, select the first two items. If you want to run cgi, select the third item:

Figure 6

Click Next to complete website creation.

The following describes the Website access permissions and some basic settings:

A. Access Permissions:

Choose my computer Properties> Manage> local users and groups> users to create a web access account. Set the password to 123, it is best to add it as a guest group (generally the users Group by default ).

Figure 7

Then, open iis, right-click the web site, choose permission> Add, enter web (here, you can click "advanced"> Search now to add), and click "OK" to add the site, all permissions except full control permissions are granted. 8.

After adding permissions, You need to resume permissions on the web sub-Folder: permission-> advanced. select the option box shown in, and click OK.

Add anonymous access permissions. Right-click the web site and choose Properties> Directory Security> edit. Enter the web user name and password 123 (the user name and password here must be the same as those set in management ), click OK.

Now, the Website access permission is set up, and now your website can be accessed.

Figure 8

B. Website attribute settings

Right-click site> properties:

(1) Directory Security: This is mainly the setting of anonymous access. As mentioned earlier, we will not talk about it more here.

(2) http header: This attribute is also mentioned earlier. It is generally used to add MIME-type content and is not described here.

(3) asp.net: used to set the asp version.

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

(5) Performance: bandwidth limit and network connection limit.

(6) ISAPI filter: asp is generally the default value. php must be added here.

(7) Website: Website Logo-> advanced, you can add and modify the bound domain name;

Enable logging is generally set to disabled.

(8) main directory: You can edit the path of the website program. Generally, you can access, read, and index the record;

Application settings: note that the execution permission is "script-only".

* Configuration: 1. ing-> application extension (download in various file formats, if it is php

Program, add the. dll file here)

2. Option: Enable session Status, enable buffering, and enable the parent path (must be selected.

3. debugging: select the error message for General script errors:

So far, the simple setting of website properties is complete.

5. FAQs

1. Parent path not enabled

Symptom example: Server. MapPath () Error 'asp 0175: 66661'

The Path character is not allowed.

/0709/dqyllhsub/news/OpenDatabase. asp, row 4

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

Cause analysis:

In many Web pages, such .. /format Statement (that is, return to the previous page, that is, the parent path), and IIS6.0 is disabled by default for security considerations.

Solution: choose Properties> main directory> Configuration> options in IIS. Check "enable parent path. Confirm refresh.

As shown in:

2: Improper Web Extension Configuration of ASP (also applicable to ASP. NET and CGI)

Symptom example:

HTTP Error 404-file or directory not found.

Cause analysis:

In IIS6.0, the web program extension option is added, in which you can.. NET, CGI, IDC, and other programs are allowed or prohibited. By default, ASP and other programs are prohibited.

Solution:

Select Active Server Pages in the Web service extension in IIS and click "allow ". As shown in:

3: Improper Identity Authentication Configuration

Symptom example:

HTTP Error 401.2-unauthorized: You are authorized to view this page.

Cause analysis:

The general cause is that the anonymous access permission is inconsistent with the account and password of the Website access permission, and the specific operations have been mentioned earlier.

Solution:

The web access account and password created in the management are consistent with those in Anonymous Access and added to the website access permissions.

4: the IUSR account is disabled.

Symptom example:

HTTP Error 401.1-unauthorized: access is denied due to invalid creden.

Cause analysis:

Because the account used for anonymous access is the IUSR _ machine name, if this account is disabled, the user cannot access it.

Solution:

Control Panel-> Administrative Tools-> Computer Management-> local users and groups, enable IUSR _ machine name account.

5. MIME settings problems cause certain types of files to be unable to be downloaded (take ISO as an example)

Symptom example:

HTTP Error 404-file or directory not found.

Cause analysis:

IIS6.0 canceled support for some MIME types, such as ISO, resulting in client download errors.

Solution:
In IIS, choose Properties> HTTP header> MIME type> New. In the subsequent dialog box, enter. ISO for the extension, and the MIME type is application.

In addition, factors such as firewall blocking, ODBC configuration errors, Web server performance restrictions, and thread restrictions are also possible causes for IIS server access failure. Here we will not repeat them one by one.

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.