From which Apache version onward is LimitRequestFieldSize no longer hardcoded to 8k max?
8,935
Ok, so it turns out that it works in 2.2, but you need to increase the max AJP packet size if you have a Tomcat behind it and use mod_proxy_ajp, or else it will still give a 400 Bad Request.
Specifically, set this in Apache:
LimitRequestFieldSize 65536
ProxyIOBufferSize 65536
and this in Tomcat server.xml on the ajp connector:
packetSize="65536"
Only setting LimitRequestFieldSize won't do the trick!
Related videos on Youtube
![Therealmarley](https://lh4.googleusercontent.com/-U9u1IHToFro/AAAAAAAAAAI/AAAAAAAAAAA/AAnnY7o4_oyw9W6n3hd0IKIeYt3MBSzR9Q/mo/photo.jpg?sz=256)
Author by
Therealmarley
Updated on September 18, 2022Comments
-
Therealmarley almost 2 years
Title says it all: from which version onward is the LimitRequestFieldSize no longer hardcoded to a max. of 8k?
It seems 2.2.15 is still affected.
-
sactiw about 8 yearsRegarding where to set in Apache: serverfault.com/questions/413984/…