On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener <covener@xxxxxxxxx> wrote: > On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote: >> On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote: >>> I am trying to test LimitRequestBody. It looks like it always returns >>> Http code 500. Is this as expected? I thought it's supposed to return >>> Http 413. >>> >>> Is there a way to change the return code of LimitRequestBody? >>> >> >> Can someone please help me answer this question? I have a requirement >> to use some specific text but can't do that if it keeps returning 500 >> status code. 500 status code is too generic. Shouldn't it be returning >> 413? > > returns 413 here. I am seeing the following when I add "LimitRequestBody 400" for my test in virtual host 500 (Internal Server Error) Can't read entity body: Connection reset by peer Content-Type: text/plain Client-Date: Thu, 04 Nov 2010 22:36:21 GMT Client-Warning: Internal response 500 Can't read entity body: Connection reset by peer Error Code :500 Can't read entity body: Connection reset by peer > >> --------------------------------------------------------------------- >> 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 >> >> > > > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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