Long URLs Are Rejected by Apache with 'Request-URI Too Large' Error

Still need help?

The Atlassian Community is here for you.

Ask the community

The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Symptoms

Requests with long URLs are being rejected by Apache with the following error message:

Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.
Apache/2.2.3 (CentOS) Server at .... Port 443

Cause

Apache limits the allowed size of a client's HTTP request-line (e.g. <HTTP METHOD> <URL> <protocol version>) and the HTTP request header field size. The default values may need to be increased if the request URL is large.

Resolution

Increase the Apache limits for limit request line and limit request field size.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.