IIS 6 For security reasons, the default request 200k do what?

xiaoxiao2021-03-06  67

IIS 6 For security reasons, the default maximum request 200K (i.e., the maximum submission data limit is 200KByte, 204800byte).

Solution:

1. Turn off IIS Admin Service Service

2. Open / Windows/system32/inessrv/metabase.xml

3. Modify the value of AspMaxRequestentityAllowed to yourself, default is 204800

4. Start IIS Admin Service Solution 2:

1. Create a text file:

'Use VBS set obj1 = GetObject ( "winmgmts: / root / MicrosoftIISv2") set obj2 = obj1.get ( "IIsWebVirtualDirSetting =' W3SVC / 1 / ROOT '")' Output default value WScript.Echo "AspMaxRequestEntityAllowed Default Value:" & obj2.AspMaxRequestEntityAllowed 'Reset the value obj2.AspMaxRequestEntityAllowed = 1024000' set to 1mbyte, u can set to other what you want :) 'Save data obj2.Put_ ()' Output new value WScript.Echo "AspMaxRequestEntityAllowed New value:" & obj2 .AspmaxrequestentityAllowed

2. Save as RequestChange.vbs

3. Enter the command line, run: CScript [Path] RequestChange.vbs

There is a tacit understanding, called the heart, there is a feeling, it is called a lot; there is a kind of happiness is always accompanied; there is a kind of thinking is looking at the eyes!

转载请注明原文地址:https://www.9cbs.com/read-90375.html

New Post(0)