GET request to IIS returns Microsoft-HttpApi/2.0 -
i've got 6 identical machines running iis , apache. today 1 of them decided stop serving requests. can access of webapps when try localhost/resource when try url/resource 404. did request against machine isn't working , back:
- server: microsoft-httpapi/2.0
- connection: close
compared working server:
- server: microsoft-iis/8.5
- x-powered-by: asp.net
- content-type: text/html
tried searching problem came nothing, got idea's?
windows has http service manages calls iis , other http enabled services on windows machine. either need configure handle calls, or, in case of wamp or similar non-iis-web-server-on-windows scenarios may need turn off.
when see "microsoft-httpapi/2.0" returning error, such 400 "bad url" or "bad header", etc. problem because the http.sys service intercepting http request , terminating because not meet minimum validation rules configured.
this configuration found in registry @ hkey_local_machine\system\currentcontrolset\services\http\parameters. in case, choking because had restful call had 400 character segment in url 160 characters more default value of 260,
- added registry parameter urlsegmentmaxlength dword value of 512,
- stopped service using net stop http
- started service using net start http
i've run these issues before , easy troubleshoot there little on web addresses it.
try these links
Comments
Post a Comment