Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Error 414 in Apache 2.2.11 on Windows Vista |
|
Author |
|
emulman
Joined: 28 Apr 2006 Posts: 3 Location: Italy
|
Posted: Sat 14 Feb '09 22:13 Post subject: Error 414 in Apache 2.2.11 on Windows Vista |
|
|
i have installed your Apache 2.2.11 on my Windows Vista Ultimate 32 bit with MySQL 5.1.31 and PHP 5.2.8. All work perfectly, only when i must fill an html form i muste send a lot of data: when i send these data there is the error 414 , URI TOO LONG ERROR, i.e. the data sended by the form exceede the limit of 8190 bytes as in httpd.conf.
I have tried to insert the option LimitFieldSize to 8192 but nothing: seemed that there is an internal variable, MAXBUF, set to 1204 bytes during compilation.
There is a version of Apache 2.2.11 this the value of MAXBUF set to 8192, or can you compile and post it, please? thanks! |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 14 Feb '09 23:55 Post subject: |
|
|
My first instinct tells me to ask the question, why are you sending that large a form along the URI to begin with? Why are you using GET instead of POST? My next was to check the RFC for http 1.1, nothing there.
That said,
LimitRequestBody 0
LimitRequestLine 2147483647
2147483647 = 2GB which very well may be a limit
I doubt you need 2GB ... so adjust as needed.
I was able to send the text of the entire RFC 2616 (HTTP 1.1) { http://tools.ietf.org/html/rfc2616 } in a form with this setting. |
|
Back to top |
|
emulman
Joined: 28 Apr 2006 Posts: 3 Location: Italy
|
Posted: Sun 15 Feb '09 14:16 Post subject: |
|
|
in fact is very strange..yes, i use POST and in a little PHP script i have inserted a row with
echo count($_SERVER['QUERY_STRING'])
which give me a 3508 bytes...but now i have another surprise! when i send the data form and i click on a submit button which passes to the same page four parameters, when the page is reloaded instead of , for example
http://wwww.xxxx.com/page.php?id=2&num=5&raced=41
appears a long URI with all the data form, like
http://wwww.xxxx.com/page.php?pos_0=1&number_0=1&name_1=zzzzz&car_1=yyyyyy ecc ecc
so appears a long URI which breaks my web app! how it's possible??? |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 16 Feb '09 16:54 Post subject: |
|
|
running mod_security? |
|
Back to top |
|
|
|
|
|
|