Seems a good idea ;) - Henri Gomez ___[_]____ EMAIL : [EMAIL PROTECTED] (. .) PGP KEY : 697ECEDD ...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-----Original Message----- >From: Philippe Van Der Gucht [mailto:[EMAIL PROTECTED]] >Sent: Thursday, February 21, 2002 11:19 AM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Content-length checking in mod_jk > > >Hello, > >Credit goes to David Dankwerth for supplying this patch. >It is meant to abort an http connection if the content length >value exceeds a >predefined value. >The predefined value can be specified in apache's httpd.conf >by using the >LimitRequestBody directive. > >F.e.: >LimitRequestBody 10000 >JkEnvVar JkLimitRequestBody apache >will limit the request to 10K. > >Apache will throw a 413 error when the limit has been exceeded >so you can >define an ErrorDocument in httpd.conf to show up an >informative page indicating >the error. > >Anyway, it's been a real and helpful solution for me and I was >wondering if the >author would consider using it? :) > >See attachment for a diff on the original v1.23 source. > > >Greetings, Philippe. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>