Under the 1.x version of mod_perl, the tecnique for increasing the POST size is:
use Apache::Request; handler { my $r = shift; my $apr = Apache::Request->new($r, POST_MAX=>(1000*1024)); } (see http://perl.apache.org/docs/1.0/guide/snippets.html#Using_DESTROY_to_Finaliz e_Output) I have been unable to locate a similar technique under mod_perl ~2.0 as the Apache::Request is still under development. Charles -----Original Message----- From: Ian Colin Jones [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 9:10 AM To: [EMAIL PROTECTED] Subject: File upload fails when size exceeds 67k bytes Hi, I am running Apache 1.3 on OpenVMS V7.2-1H1. When I upload files to my server all works fine, until the file size exceeds 67,066 bytes. My CGI is written in Perl 5.6. I have searched my Apache documentation looking for a limiting directive in my httpd.conf file, with no success. Changing the byte limit on the Apache VMS Account didn't work either. Running my tests has shown that when the upload is successful, the STDIN buffer in perl contains the file content, complete with boundries. When the size exceeds 67,066 bytes, the buffer is empty and it appears the upload didn't start. There doesn't seem to be any entries in the FAQ's regarding this problem and VMS. Is this an Apache configuration I have missed or a Perl issue. Any advise on where to continue my search will be received with thanks. Ian.. -- Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenenen Informationen ist nicht gestattet. The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited.