wizzard: (Default)
[personal profile] wizzard

Если у вас не работают урлы вида http://something/blabla:omfg (выдается ошибка 400), то знайте – она вызвана паранойей IIS (защита от атак на NTFS Alternate Data Streams).

Решение: KB 826437 ( http://support.microsoft.com/kb/826437 )

  1. Ensure Microsoft .NET 1.1 SP1 is installed on the machine
  2. In the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET create a 32bit DWORD value of VerificationCompatibility = 1
  3. Restart IIS.

У меня (IIS 6, ASP.NET 2) работает, может, поможет кому-то еще.

UPD: для ASP.NET 4 надо еще сделать такое:

<system.web>
<httpRuntime requestPathInvalidCharacters="" />
<pages validateRequest="false" />
</system.web>

<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true" />
</security>
</system.webServer>

Я надеюсь, вы понимаете значение этих проверок и что выключать их для всего сервера не нужно.
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

wizzard: (Default)
wizzard

January 2019

S M T W T F S
  12 345
6789101112
1314 1516171819
202122 23242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 6th, 2026 03:33 am
Powered by Dreamwidth Studios