How to set up IIS (ASP) under WIN2003

Source: Internet
Author: User
Tags parent directory web services knowledge base metabase
Win2003 asp, IIS configuration tips

In IIS 6.0, the default setting is particularly strict and secure, which minimizes the attack caused by previously too loose timeouts and restrictions. For example, the default metabase property enforces a maximum ASP posting size of 204,800 bytes and restricts each field to KB. There are no posting restrictions in the version prior to IIS 6.0. Causing our application to migrate to 2003 often goes awry. The summary solution is as follows.

first, enable ASP support

Windows Server 2003 is installed by default and is not installed with IIS 6 and requires additional installation. After you install IIS 6, you also need to turn on standalone support for ASP.

First step, enable ASP, Access: Control Panel-> management Tools->iis (Internet Server)-Web service Extensions-> Active Server Pages-> allow
Control Panel-> Management Tools->iis (Internet Server)-Web service extensions-> include files at the server-> allow

The second step is to enable the parent path support.
iis-Web Site-Home Directory-configuration-options-Enable parent path

Third step, permission assignment
iis-Web site-(specific site)-(right) permissions-users Full Control

Second, the resolution windows2003 maximum can upload only 200K limit.

Shut down the IIS Admin service in the service first
Find the MetaBase.xml under the windows//system32//inesrv//,
Open, find aspmaxrequestentityallowed to change him to the desired value,
Then restart the IIS Admin Service

1. Allow Active Server Pages and include files on server side in Web service extensions

2, modify the properties of each site
Home Directory-Configuration-options-Enable parent path

3, so that it can upload files larger than 200k (modified to the size you want, such as in the back of two 0, will allow 20m)
C://windows//system32//inetsrv//metabase.xml

(The Enterprise version of Windows2003 is on line No. 592, the default is aspmaxrequestentityallowed=/"204800/" that is 200K

Add two to 0, that is, now the maximum can be uploaded 20M.

aspmaxrequestentityallowed=/"20480000/"

Configuring IIS on WIN2003 notice a few

Configure Windows Server 2003--IIS 6
Microsoft Knowledge Base Article-324742
The information in this article applies to:
Microsoft Windows Server 2003, Datacenter Edition
Microsoft Windows Server 2003, Enterprise Edition
Microsoft Windows Server 2003, Standard Edition
Microsoft Windows Server 2003, Web Edition
Microsoft Windows Server 2003, 64-bit Datacenter Edition
Microsoft Windows Server 2003, 64-bit Enterprise Edition
Microsoft Internet Information Services version 6.0
This step-by-step article describes how to set up a WWW server for anonymous access in a Windows Server 2003 environment.

Installing Internet Information Services

Microsoft Internet Information Services (IIS) is a WEB service that is set up with Windows Server 2003.
To install IIS, add optional components, or remove optional components, follow these steps:
1. Click Start, point to Control Panel, and then click Add or Remove Programs.
The Add or Remove Programs tool starts.
2. Click Add/Remove Windows components.
Displays the Windows Components wizard.
3. In the list of Windows components, click the Web application server.
4. Click Details, and then click Internet Information Services (IIS).
5. Click Details to view the list of IIS optional components.
6. Select the optional components you want to install. By default, the following components are selected:
---Common Files
---FrontPage 2002 Server extentions
---Internet Information Services snap-in
---Internet Information Services Manager
---NNTP service
---SMTP service
---world Wide Web Services
7. Click World Wide Web Services, and then click Details to view a list of IIS optional subcomponents, such as the Active Server Pages component and the remote Management (HTML) tool). Select the optional subcomponents that you want to install. By default, the following components are selected:
---world Wide Web Services
8. Click OK until you return to the Windows Components wizard.
9. Click Next, and then complete the Windows Components wizard.

Configuring Anonymous Authentication

To configure anonymous authentication, follow these steps:
1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS).
2. Expand the * server name (where the server name is the name of the server), right-click the Web site, and then click Properties.
3. In the Web Site Properties dialog box, click the Directory Security tab.
4. Under Authentication and access control, click Edit.
5. Click the Enable anonymous Access check box to select it.
Note: The user account in the User name box is used only for anonymous access through the Windows Guest account.
By default, the server creates and uses the account IUSR_computername. The anonymous user account password is used only in Windows, and the anonymous user does not log on with the username and password.
6. Under Authenticated access, click the Integrated Windows authentication check box to select it.
7. Click OK two times.

Basic WEB Site Configuration

1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS).
2. Expand the "* Server name" (where the server name is the name of the server), and then expand the Web site.
3. Right-click the default Web site, and then click Properties.
4. Click the Web Site tab. If you have assigned more than one IP address to your computer, in the IP address box, click the IP address that you want to assign to this web site.
5. Click on the Performance tab. Use the Web Site Properties-Performance dialog box to set properties that affect memory, bandwidth usage, and number of web connections.
By configuring network bandwidth on a particular site, you can better control traffic for that site. For example, by restricting bandwidth on a lower-priority Web site, you can relax restrictions on the amount of access to his site. Similarly, when you specify the number of connections to a Web site, you can release resources for other sites. Settings are specific to the site and should be adjusted based on network traffic and usage changes.
---Click to select the limit the bandwidth available to this WEB site check box to configure IIS to adjust network bandwidth to the maximum amount of bandwidth selected, in kilobytes per second (KB/S).
Select a specific number or an unqualified number of Web Service connections---Click the Web Service connection check box. Restricting connections allows computer resources to be used for other processes.
Note: Each client browsing the Web site typically uses about three connections.
6. Click the Home Directory tab.
---if you want to use WEB content that is stored on the local computer, click Directory on this computer, and then type the path you want in the Local Path box. For example, the default path is C://inetpub//wwwroot.
Note: To increase security, do not create a Web content folder under the root directory.
---if you want to use WEB content that is stored on another computer, click Shared location on another computer, and then type the location you want in the Network directory box that appears.
---if you want to use Web content that is stored in another Web address, click Redirect to URL, and then type the location you want in the redirect to box. Under customer will send to, click the appropriate check box to select it.
7. Click the document tab. Note the list of documents that can be used by IIS as the default startup document. If you want to use index.html as your startup document, you must add it. Add the method:
A. Click Add.
B. In the Add Default Document dialog box, type Index.html, and then click OK.
C. Click the up arrow button until index.html is displayed at the top of the list.
8. Click OK to close the default Web Site Properties dialog box.
9. Right-click the default Web site, and then click Permissions.
10. Note the user account with permission to operate on this web site. Click Add to add additional user accounts that can operate this web site.
11. Click OK to return to the Internet Information Services window.
12. Right-click the default Web site, and then click Stop.
13. Right-click the default Web site, and then click Start.

WINDOWS2003 on the installation of OA system to note:
How to enable ASP support:
Windows Server 2003 is installed by default and is not installed with IIS 6 and requires additional installation. After you install IIS 6, you also need to turn on standalone support for ASP. The method is:
Control Panel-> Administrative Tools-> Web service Extensions-> Active Server Pages-> allowed.
Q:asp file contains files when prompted for active Server Pages error/' ASP 0131/' not allowed parent path, how to resolve.
A: Select the home directory-configuration-application option in the Site properties and select "Enable Parent directory".
Related Article

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.