Mailing List Archive

[Bug 65679] New: Apache throwing error 400 "Bad Request" for long request URL using GET method
https://bz.apache.org/bugzilla/show_bug.cgi?id=65679

Bug ID: 65679
Summary: Apache throwing error 400 "Bad Request" for long
request URL using GET method
Product: Apache httpd-2
Version: 2.4.41
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: renu.lohiya@wipro.com
Target Milestone: ---

We have a Web application which access App Web Server via APGW and ARP. While
accessing this web application, on some of the pages ARP (which is hosted on
Unix box, Apache 2.4.41) sends 400 Error code to APGW and which turns as "Bad
Request" on application frontend.

After doing some initial analysis, we found that it is happening only for long
URL (Request URL length is more than 4500 characters). For other Request URL
there is no issue and page loads properly. We also observed that if we bypass
APGW and directly connect via ARP there is no error. This means ARP is
truncating URL which APGW sending and that's causing 400 error. We have already
tried setting below directives in httpd.conf file at ARP;

LimitRequestFieldSize 65536
LimitRequestFields 65536
LimitRequestLine 65536

But that also didn't help.

Do you suggest any other possible solution to resolve this error?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org