Httpd LimitRequestFieldSize not taken into account

Solution 1:

On my Ubuntu 18.04 LTS machine with Apache 2.4 i modified the file:

/etc/apache2/conf-available/httpd.conf

according to the docs at https://httpd.apache.org/docs/2.4/mod/core.html

# https://askubuntu.com/questions/340792/size-of-a-request-header-field-exceeds-server-limit-due-to-many-if-none-match-va
# default is 8k see https://httpd.apache.org/docs/2.4/mod/core.html
LimitRequestFieldSize 32768
# default is 100 
LimitRequestFields 200

and restarted the server. You might want to fiddle with the settings