How To Fix 414 Request URI Too Large in Apache

ImperialTrader

Well-Known Member
Aug 31, 2014
196
21
68
Egypt
cPanel Access Level
Root Administrator
Hello,
How To Fix 414 Request URI Too Large in Apache?

I did many searches and I noticed that I should increase the request size limit in Apache
I should add this line in the Virtual host or Apache configuration page (LimitRequestLine 10000)
Where I can find these files?

Note: I get this error for 1 website only on my server, but all the other websites are working fine.
 

Attachments

Last edited by a moderator:

quietFinn

Well-Known Member
Feb 4, 2006
1,902
465
438
Finland
cPanel Access Level
Root Administrator
In WHM -> Service Configuration -> Apache Configuration -> Include Editor -> Pre Virtualhost Include -> All versions
 

ImperialTrader

Well-Known Member
Aug 31, 2014
196
21
68
Egypt
cPanel Access Level
Root Administrator
In WHM -> Service Configuration -> Apache Configuration -> Include Editor -> Pre Virtualhost Include -> All versions
I added this line (LimitRequestLine 10000), but the issue still exists!
Also, there are other URLs getting (404 error) and the URL is working fine
So, I think the issue is not in the (Limit Request Line), correct?
 

Attachments

Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,285
2,434
363
cPanel Access Level
Root Administrator
Did you manually restart Apache after adjusting that include? When using the Include Editor interface, we don't restart Apache for you, but provide this warning:

Code:
Your Apache configuration include files have been saved, and httpd.conf has been rebuilt. For your changes to take effect, Apache must be restarted.