Tagged: request

HTTP Error 400: Size of a request header field exceeds server limit

- by admin

I have got an error generated by Apache while configuring Plexcel (PHP Active Directory module):
Error 400: Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

The solution was an easy one: to increase allowed request field size in Apache configuration (/etc/httpd/conf/httpd.conf for RHEL):
LimitRequestFieldSize 16380

Just for information: the default value for LimitRequestFieldSize is equal to 8190.

If you cannot change server settings just try to clean up your browser cookies and limit the size of cookies stored in your browser. It may prevent your browser to send too big request.

 

« All tags