500 error when attempting to upload files >60K

This is a discussion on 500 error when attempting to upload files >60K within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I have a problem whereby Apache logs a 500 error and IE gives a page cannot be displayed notice ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2004
David H
 
Posts: n/a
Default 500 error when attempting to upload files >60K

Hi,

I have a problem whereby Apache logs a 500 error and IE gives a page
cannot be displayed notice when I attempt to upload files of size
greater than approximately 60KB. The upload in question uses the POST
command to allow users to store arbitrary documents on the server.

I know that the upload script works correctly since I am using Apache
purely for it's virtualhost functionality, and when entering the full
URL and port number (thus bypassing apache completely), this problem
does not occur. Nothing appears in the error_log, though the
following entry appears in the access_log:

10.160.132.115 - - [01/Mar/2004:09:53:34 +0000] "POST
/coe/secure/uploadLOB.do HTTP/1.1" 500 639

I have tried altering various httpd.conf settings as detailed in the
Apache documentation - LimitRequestBody, LimitRequestFields,
LimitRequestFieldSize, LimitRequestLine, LimitXMLRequestBody - and
although I am able to further reduce the size of files that can be
uploaded, I have been unable to increase it past 60K.

I have searched for answers both on the apache homepage and on google,
but have so far not been able to resolve this issue. Any pointers
would be greatly appreciated!

Thanks,

David.
  #2 (permalink)  
Old 03-01-2004
Chaitanya
 
Posts: n/a
Default Re: 500 error when attempting to upload files >60K

Just to rule out some possibilities,

does the machine have enough memory? Try to decrease 'threadsperchild'
in httpd.conf and see if there is any improvement at all.

Is this a module specfic problem? Try to execute a script using a
different module other than the one your current script is using. This
way you can narrow down on the problem.

Chaitan.

david.j.hills@accenture.com (David H) wrote in message news:<9e99ff05.0403010241.502ff28e@posting.google. com>...
> Hi,
>
> I have a problem whereby Apache logs a 500 error and IE gives a page
> cannot be displayed notice when I attempt to upload files of size
> greater than approximately 60KB. The upload in question uses the POST
> command to allow users to store arbitrary documents on the server.
>
> I know that the upload script works correctly since I am using Apache
> purely for it's virtualhost functionality, and when entering the full
> URL and port number (thus bypassing apache completely), this problem
> does not occur. Nothing appears in the error_log, though the
> following entry appears in the access_log:
>
> 10.160.132.115 - - [01/Mar/2004:09:53:34 +0000] "POST
> /coe/secure/uploadLOB.do HTTP/1.1" 500 639
>
> I have tried altering various httpd.conf settings as detailed in the
> Apache documentation - LimitRequestBody, LimitRequestFields,
> LimitRequestFieldSize, LimitRequestLine, LimitXMLRequestBody - and
> although I am able to further reduce the size of files that can be
> uploaded, I have been unable to increase it past 60K.
>
> I have searched for answers both on the apache homepage and on google,
> but have so far not been able to resolve this issue. Any pointers
> would be greatly appreciated!
>
> Thanks,
>
> David.

  #3 (permalink)  
Old 03-01-2004
David H
 
Posts: n/a
Default Re: 500 error when attempting to upload files >60K

In case anyone is interested, I have now managed to solve this
problem. It was down to the fact that when proxying POST requests,
the weblogic proxy module firstly saves the uploaded file locally in a
temporary directory before forwarding it on. This directory
(/tmp/_wl_proxy) did not exist on my server, as soon as I created it,
everything worked perfectly.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0