Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The requested URL's length exceeds the capacity limit for this server?

Tags:

http

url

Is there any way to detect when URL's length is exceeded? This is causing after sending large number of query variables in query string. Can it be increased at run time? It seems dependent on server configuration & what is maximum length for URL?

like image 236
Irfan Avatar asked Sep 01 '25 22:09

Irfan


1 Answers

  1. On the receiving end you normally receive a 414 Request-URI Too Long-header.
  2. No it cannot be increased at runtime. And in Apache, if you use that as a webservers, you can limit it to something below the default 8190 bytes, but not to something above it without changing the source code & recompiling.
  3. Yes, is it server dependent, and even UA-dependent, and if you run Suhusoin with PHP, even more possible rules apply.
  4. If you need to ask "What is the maximum lenght of an url?", you actually need to ask: "Why are these not POST values?".
like image 174
Wrikken Avatar answered Sep 04 '25 03:09

Wrikken