[users@httpd] Confused about LimitRequestBody

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to understand the LimitRequestBody directive.
I'm working with the latest versions of Apache 2.0 and 2.3.
I added this line to my httpd.conf file in the main
(server) section - not in a <Directory> container or any
other container:

LimitRequestBody  10

I'm using none of the other Limitxxxx directives.
Then I sent this HTTP request to the server:

POST /cgi-bin/printenv?12345678901234567890 HTTP/1.1

along with the other usual headers typical browsers send.
I received a normal response from the CGI (Perl) script.
I expected it to fail because the request is longer than
10 bytes - but it didn't.

The printenv program returned these relevant headers:

QUERY_STRING="12345678901234567890"

REQUEST_URI="/cgi-bin/printenv?12345678901234567890"

I get the same results when I place the LimitRequestBody
directive in the DocumentRoot <Directory> container or
the /cgi-bin <Directory> container.

What am I doing wrong?

Ed


begin:vcard
fn:Ed Sawicki
n:Sawicki;Ed
org:Accelerated Learning Center
adr:;;PO Box 780-B;Lake Oswego;OR;97034;US
email;internet:ed@xxxxxxxxxxxx
title:President
tel;work:503-635-6370
x-mozilla-html:FALSE
url:http://www.alcpress.com
version:2.1
end:vcard


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux