Re: Content-length check

2002-02-19 Thread Philippe Van Der Gucht
[EMAIL PROTECTED] wrote: > > if you are not looking for setting this limit dynamicly, this apache directive > might solve your problem. > > http://httpd.apache.org/docs/mod/core.html#limitrequestbody Yes, I knew about this apache directive. :-) You can imagine that I tested and guess what, the

Re: Content-length check

2002-02-19 Thread victor
if you are not looking for setting this limit dynamicly, this apache directive might solve your problem. http://httpd.apache.org/docs/mod/core.html#limitrequestbody Philippe Van Der Gucht wrote: > Hello, > > I bumped into a problem where I wanted to prevent a file upload from happening. > The

Content-length check

2002-02-19 Thread Philippe Van Der Gucht
Hello, I bumped into a problem where I wanted to prevent a file upload from happening. The easy way was to insert some code in the connector (org.apache.ajp.RequestBase) that checks if the content-length is below a configured value. If it isn't then that's where my problem begins... Can I abort