Windows2003 IIS6.0 asp configuration skills

  

In iis 6.0, the default settings are particularly strict and secure, which minimizes attacks caused by previously too loose timeouts and limits. For example, the default configuration database property implementation has a maximum asp posting size of 204,800 bytes and limits each field to 100 kb. In versions prior to iis 6.0, there were no posting restrictions. It is often wrong to cause our application system to migrate to 2003. The summary solution is as follows.

First, enable asp support windows server 2003 default installation, is not installed iis 6, need to be installed separately. After installing iis 6, you also need to enable support for asp separately.

First step, enable asp, go to: Control Panel -> Administrative Tools -> iis (internet server) - web service extension -> active server pages -> Allow

Control Panel -> Administrative Tools -> iis (internet server) - web service extension -> include file on the server -> allow

Step 2, enable parent path support. Iis-website-home directory-configuration-options-enable parent path

third step, permission assignment iis-site-(specific site)-(right click) permission-users full control

two To solve the problem that windows2003 can only upload 200k. First close the iis admin service in the service and find the metabase.xml under windows\\system32\\inesrv\\, open it, find aspmaxrequestentityallowed and change it to the required value, then restart the iis admin service 1. Allow the active server pages in the web service extension And include the file on the server side

2, modify the properties of each site main directory - configuration - options - enable the parent path

3, so that it can upload files larger than 200k (modified to you want The size can be, such as adding two 0 at the end, allowing 20m) c:\\windows\\system32\\inetsrv\\metabase.xml

(Enterprise version of windows2003 at line 592, default is aspmaxrequestentityallowed ="204800" That is 200k

Add two zeros, that is, change it to 20m now.

aspmaxrequestentityallowed="20480000"

Copyright © Windows knowledge All Rights Reserved