Re: Embedded Perl/Resource Limits
But isnt the LimitRequestBody directive only for files being received by the client and not for files being sent the other way?? It's called LimitRequestBody and not LimitResponseBody, just read the Apache docs http://www.apache.org/docs/mod/core.html#limitrequestbody Gerald I thought this would be an arbitrary limit that could either be changed in a source code or apache config file change?? Any ideas? Bill --- Gerald Richter [EMAIL PROTECTED] wrote: - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 - - Original Message - From: "Bill Mustdie" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 06, 2000 1:40 AM Subject: Embedded Perl/Resource Limits Hi, I have a question pertaining to Embedded Perl. (But it may be Apache or mod_perl in nature) From the example upload script on the Apache Embedded Perl page I am implementing a small file upload system however I have noticed files cut out when uploading at around 1 meg. (Reports "Network Error" with no message logged to the log files - anything under a meg works no problems) Maybe you have set (or compiled in) a LimitRequestBody: http://www.apache.org/docs/mod/core.html#limitrequestbody Also this creates a temp file, so it maybe a limit, set by your os for the user Apache is running as, about the max filesize Gerald Is this an Apache or mod_perl limitation? And whats the best way of getting around it? Is there a simple Apache directive i can put in the config file or is there a hard coded patch required? thanks in advance! Bill ps Yes i do know of other methods such as a meta-ftp client for files this large but this violates our firewall policies etc etc.. :) - [$ if !defined $fdat{ImageName} $]br FORM METHOD="POST" ENCTYPE="multipart/form-data" INPUT TYPE="FILE" NAME="ImageName" INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Upload file" /FORM [$else$]p br [- open FILE, " /tmp/file.$$"; print FILE $buffer while read($fdat{ImageName}, $buffer, 32768); close FILE; -] Your file has been saved to [+ "/tmp/file.$$" +]br __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
Re: Embedded Perl/Resource Limits
- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 - - Original Message - From: "Bill Mustdie" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 06, 2000 1:40 AM Subject: Embedded Perl/Resource Limits Hi, I have a question pertaining to Embedded Perl. (But it may be Apache or mod_perl in nature) From the example upload script on the Apache Embedded Perl page I am implementing a small file upload system however I have noticed files cut out when uploading at around 1 meg. (Reports "Network Error" with no message logged to the log files - anything under a meg works no problems) Maybe you have set (or compiled in) a LimitRequestBody: http://www.apache.org/docs/mod/core.html#limitrequestbody Also this creates a temp file, so it maybe a limit, set by your os for the user Apache is running as, about the max filesize Gerald Is this an Apache or mod_perl limitation? And whats the best way of getting around it? Is there a simple Apache directive i can put in the config file or is there a hard coded patch required? thanks in advance! Bill ps Yes i do know of other methods such as a meta-ftp client for files this large but this violates our firewall policies etc etc.. :) - [$ if !defined $fdat{ImageName} $]br FORM METHOD="POST" ENCTYPE="multipart/form-data" INPUT TYPE="FILE" NAME="ImageName" INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Upload file" /FORM [$else$]p br [- open FILE, " /tmp/file.$$"; print FILE $buffer while read($fdat{ImageName}, $buffer, 32768); close FILE; -] Your file has been saved to [+ "/tmp/file.$$" +]br __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
Re: Embedded Perl/Resource Limits
Gerald, But isnt the LimitRequestBody directive only for files being received by the client and not for files being sent the other way?? I thought this would be an arbitrary limit that could either be changed in a source code or apache config file change?? Any ideas? Bill --- Gerald Richter [EMAIL PROTECTED] wrote: - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 - - Original Message - From: "Bill Mustdie" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 06, 2000 1:40 AM Subject: Embedded Perl/Resource Limits Hi, I have a question pertaining to Embedded Perl. (But it may be Apache or mod_perl in nature) From the example upload script on the Apache Embedded Perl page I am implementing a small file upload system however I have noticed files cut out when uploading at around 1 meg. (Reports "Network Error" with no message logged to the log files - anything under a meg works no problems) Maybe you have set (or compiled in) a LimitRequestBody: http://www.apache.org/docs/mod/core.html#limitrequestbody Also this creates a temp file, so it maybe a limit, set by your os for the user Apache is running as, about the max filesize Gerald Is this an Apache or mod_perl limitation? And whats the best way of getting around it? Is there a simple Apache directive i can put in the config file or is there a hard coded patch required? thanks in advance! Bill ps Yes i do know of other methods such as a meta-ftp client for files this large but this violates our firewall policies etc etc.. :) - [$ if !defined $fdat{ImageName} $]br FORM METHOD="POST" ENCTYPE="multipart/form-data" INPUT TYPE="FILE" NAME="ImageName" INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Upload file" /FORM [$else$]p br [- open FILE, " /tmp/file.$$"; print FILE $buffer while read($fdat{ImageName}, $buffer, 32768); close FILE; -] Your file has been saved to [+ "/tmp/file.$$" +]br __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
Embedded Perl/Resource Limits
Hi, I have a question pertaining to Embedded Perl. (But it may be Apache or mod_perl in nature) From the example upload script on the Apache Embedded Perl page I am implementing a small file upload system however I have noticed files cut out when uploading at around 1 meg. (Reports "Network Error" with no message logged to the log files - anything under a meg works no problems) Is this an Apache or mod_perl limitation? And whats the best way of getting around it? Is there a simple Apache directive i can put in the config file or is there a hard coded patch required? thanks in advance! Bill ps Yes i do know of other methods such as a meta-ftp client for files this large but this violates our firewall policies etc etc.. :) - [$ if !defined $fdat{ImageName} $]br FORM METHOD="POST" ENCTYPE="multipart/form-data" INPUT TYPE="FILE" NAME="ImageName" INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Upload file" /FORM [$else$]p br [- open FILE, " /tmp/file.$$"; print FILE $buffer while read($fdat{ImageName}, $buffer, 32768); close FILE; -] Your file has been saved to [+ "/tmp/file.$$" +]br __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/