Joshua,
> Is the 413 returned because you exceed the LimitRequestSize configured
> for apache?
>
I am not using the Apache parameter but a WLS plugin parameter.
I have set the MaxPostSize parameter within the WLS Apache plugin. I am
assuming this causes the 413 to return.
Interestingly, i saw different behaviours with different file sizes.
I have the limit set at 10k. When i attempt to upload a 15k file, i see
the following error returned to the browser:
Failure of server APACHE bridge:
Your file size is too large to upload.
Build date/time: Dec 13 2006 10:09:29
Change Number: 871803
But if i attempt to upload a much larger file, say 600MB, i get a different
response in the browser:
The connection was reset
The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in
a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy,
make sure
that Firefox is permitted to access the Web.
Thanks
Ramdas
> If so, this may be one of those errors that deliberately doesn't
> invoke custom ErrorDocuments. In the case of errors that may be
> resource-exhausting attacks by clients, apache short-circuits the
> normal error handling and returns a hard-coded message. This is
> because it is considered unsafe to go forward with full request
> processing when the server may be in a bad state due to resource
> exhaustion.
>
> I'd have to check the code to see if this explains your particular case.
>
> See the paragraph near the bottom of
> http://httpd.apache.org/docs/2.2/mod/core.html#errordocument
>
> Joshua.
[EMAIL PROTECTED] wrote on 02/29/2008 07:06:49 PM:
> On Fri, Feb 29, 2008 at 9:03 PM, <[EMAIL PROTECTED]> wrote:
> >
> > I am using httpd 2.2.4 with BEA Weblogic plug-in for Apache.
> > I have configured the ErrorDocument to handle HTTP return codes
returned by
> > the app. I have set a MaxPostSize attribute on the WLS plug-in tolimit
the
> > file uploads.
> > When i simulate HTTP status 413 for large file uploads by doing a
> > multi/form-data post in my browser, though the plug-in/httpd seem to
be
> > returning a HTTP code 413 as is seen in the access log, the
ErrorDocument
> > that i have configured to handle this does not seem to kick in.
> > The ErrorDocument does work for other configured error codes which
means my
> > webserver configuration is right.
> >
> > Under what circumstances would Apache httpd not redirect the browser
to
> > the page specified by ErrorDocument?
> >
> > The entry in the access log appears as:
> >
> > "POST
> > /xfer/xfer/Rendezvous/?cm=uf&id=c6ef4300-8675-4c00-
> b403-71e93284c845&sd=b36cd054c9b151be8d8b5a2b76215924&p=1&rp=&rpo=0&pg=1
> > HTTP/1.1"
> > 413 277
"http://ra-dev.test.com/falcon/addFiles.jsp?p=1&rp=&rpo=0&pg=1"
> > "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12)
> > Gecko/20080201 Firefox/2.0.0.12"
>
> Is the 413 returned because you exceed the LimitRequestSize configured
> for apache?
>
> If so, this may be one of those errors that deliberately doesn't
> invoke custom ErrorDocuments. In the case of errors that may be
> resource-exhausting attacks by clients, apache short-circuits the
> normal error handling and returns a hard-coded message. This is
> because it is considered unsafe to go forward with full request
> processing when the server may be in a bad state due to resource
> exhaustion.
>
> I'd have to check the code to see if this explains your particular case.
>
> See the paragraph near the bottom of
> http://httpd.apache.org/docs/2.2/mod/core.html#errordocument
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]