Apache 414 Request-URI Too Long

On an Apache server, when accessing a long URL, got 414 Request-URI Too Long

Apache 414 Request-URI Too Long

The error is because the URL is too long, this may be a bug with the web applications. If you pass so much data, you should consider using the HTTP POST method instead of GET request.

To fix this error, edit the apache config file, and add the following 2 lines

On Debian/Ubuntu, create

On RHEL based OS, create

Add the following 2 lines

Restart Apache

For Ubuntu/Debian

For RHEL/AlmaLinux/OracleLinux

See Nginx HTTP 414 request-URI too large, Apache

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.