Victor Michael Blancas wrote:
> 
> I've set FileUploadMax to 500000 but I'm still am able to upload files
> bigger.  Do I have to put this directive within a <Directory> Apache
> Directive.
> 

To see the settings that Apache::ASP picks up, set Debug to 
-1,-2, or -3 for system level debugging, and look at the 
error_log during a file upload.  Apache::ASP uses CGI for 
file uploads, so this code gets run:

 if($asp->{file_upload_max} = $r->dir_config('FileUploadMax')) {
     $CGI::POST_MAX = $r->dir_config('FileUploadMax');
 }

and file_upload_max in in the error log when it prints itself
out is what it is using.

You may be running into some limit that Apache has or even
your browser, I don't know.  I don't think CGI has file upload
limits beyond setting the POST_MAX variable.

I believe Apache has the setting LimitRequestBody which could
be set in your httpd.conf and killing your file uploads.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to