> On 11 Dec 2015, at 2:35 AM, Kamil Koziara <[email protected]> wrote:
>
> Hi,
> I have problem with settingLimitRequestFieldSize in mod_wsgi-express running
> python app in docker container (I use Graham's image). I am running
> Apache/2.4.17 (Unix) mod_wsgi/4.4.21 Python/3.4.3 .
> I tried attaching additional conf file with --include-file custom_apache.conf
> with bigger limit, but I still get:
> <h1>Bad Request</h1>
> <p>Your browser sent a request that this server could not understand.<br />
> Size of a request header field exceeds server limit.<br />
> What could be the problem? Should I do something else?
Primary culprit would be the size of cookies being sent. The Apache default is:
#define DEFAULT_LIMIT_REQUEST_FIELDSIZE 8190
Only other header I have seen which can be quite large is authorisation headers
when using OpenStack services.
The —include-file way of adding a config snippet and setting:
LimitRequestFieldSize 32768
should override it.
If this is from a browser can you use a browser extension to allow you to look
at the headers being sent to work out which header is the problem one.
Alternatively go into the browser cookie cache and delete the cookies for that
site.
What limit were you setting when you attempted to override it?
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.