Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

414 Request-URI Too Large

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
sionandes
Posts: 22
Joined: Thu Mar 19, 2015 7:13 pm

414 Request-URI Too Large
  • Quote

Post by sionandes » Mon Apr 27, 2015 2:00 pm

Hi brothers,

I'm having strange kind of trouble on one of my url which is very long approx 19,767 characters long & 10kb in size .. let me explain you guys.

I was getting error of :
414 Request URI Too Large
nginx
I google and found out that by editing and increase the value of "Client_header_buffer_size" & "Client_body_buffer_size" in nano /etc/nginx/nginx.conf file You can overcome it. Yes I did and increase the limits..

and then I try to refresh that page again.. but it is still showing 414 Request URI too Large error but this time nginx text is removed and it looks like its apache error now.. and I need to increase or change the limit of apache2 file too.
Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.
I google again to find out how to solve the Apache2 414 Request-URI too Large error.. and found out solution to modify the "Increase the Apache limits for limit request line and limit request field size" but I'm failed to locate the file where I can increase LimitRequestLine & LimitRequestFieldSize in Debian Wheezy 7

Can anyone please help me out how to deal with this 414 page Error.
Top

bestony
Posts: 17
Joined: Sat Mar 07, 2015 5:22 pm
Contact:
Contact bestony
Website

Re: 414 Request-URI Too Large
  • Quote

Post by bestony » Mon Apr 27, 2015 4:27 pm

sionandes wrote:Hi brothers,

I'm having strange kind of trouble on one of my url which is very long approx 19,767 characters long & 10kb in size .. let me explain you guys.

I was getting error of :
414 Request URI Too Large
nginx
I google and found out that by editing and increase the value of "Client_header_buffer_size" & "Client_body_buffer_size" in nano /etc/nginx/nginx.conf file You can overcome it. Yes I did and increase the limits..

and then I try to refresh that page again.. but it is still showing 414 Request URI too Large error but this time nginx text is removed and it looks like its apache error now.. and I need to increase or change the limit of apache2 file too.
Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.
I google again to find out how to solve the Apache2 414 Request-URI too Large error.. and found out solution to modify the "Increase the Apache limits for limit request line and limit request field size" but I'm failed to locate the file where I can increase LimitRequestLine & LimitRequestFieldSize in Debian Wheezy 7

Can anyone please help me out how to deal with this 414 page Error.
Hello,Although there is no LimitRequestLine at apache2.conf,but you can add it to /etc/apache2/apache2.conf

Code: Select all

LimitRequestLine 40940
LimitRequestFieldSize 40940
Top

sionandes
Posts: 22
Joined: Thu Mar 19, 2015 7:13 pm

Re: 414 Request-URI Too Large
  • Quote

Post by sionandes » Mon Apr 27, 2015 5:34 pm

https://www.dropbox.com/s/t77jn97dhmsja ... e.PNG?dl=0

Thanks Bestony, I added as you suggested at bottom, please see the above image link but it's still not working. still showing :

Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.
Apache/2.2.22 (Debian) Server at xxxxx.com Port 80
Top

alfredalfred
Posts: 1
Joined: Tue May 31, 2016 5:40 am

Re: 414 Request-URI Too Large
  • Quote

Post by alfredalfred » Tue May 31, 2016 5:41 am

But it is still showing 414 Request URI too Large error but this time nginx text is removed and it looks like its apache error now.. and I need to increase or change the limit of apache2 file too????


waleeed
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: 414 Request-URI Too Large
  • Quote

Post by skurudo » Wed Jun 15, 2016 12:28 pm

You can try at /etc/nginx/nginx.conf

Code: Select all

large_client_header_buffers 4 16k
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password