Apache 400 Bad Request
-
There is such a situation: we decided to transfer the site to
ClaimsBased
And it's like nothing but one problem that came out. User copyingThinktecture
it's doing good.But it's only working well until the website gets out. I mean, as long as the site is only within the server, everything works as soon as I move the site into another state (may be addressed to the website) and it goes as follows:
Decided a little. https://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits :
<system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="300000000" maxQueryString="2097151"> <headerLimits> <add header="Content-type" sizeLimit="10000"/> </headerLimits> </requestLimits> </requestFiltering> </security> </system.webServer>
It's a big limit.
headerLimits
And it didn't work, the same problem. Even found this article online. https://support.microsoft.com/en-us/kb/2020943 I've increased the server roster.MaxFieldLength
andMaxRequestBytes
But true. server not rebooted because there's no way to overload-- Production♪What options would you suggest? The superstition cannot be overloaded (see that changes in the registry are not applied before reloading).
-
Problem solved! Opened a site in Mozilla's browser and saw the size
cookie
- 8.53 KB. Thanks to the answer: https://stackoverflow.com/a/686243/5275890 ♪ I found out Apache had a size.cookie
8 KB default.Increase in size
cookie
up to 12 KB and it's working.