Re: sending data to cgi

[email protected] ("Will Merrill") Fri, 25 Jan 2002 05:55:07 -0700
Newsgroups perl.macperl.webcgi
Message-ID <B876A3BA.136E%[email protected]>
>>> I've been running a Perl cgi on a UNIX machine. The purpose of this cgi is
>>> to download and parse data that the user has copy/pasted into a text window
>>> on his or her web browser and POSTed to the cgi.
>>> 
>>> I've now moved my script to MacPerl and have found that it can no longer
>>> handle data with more than about 30kb. Yet I'd like to allow users to send
>>> me data between 100 and 500kb. It worked okay on UNIX/Apache, why can't it
>>> work with MacPerl on a Macintosh?
>> 
>> Try increasing the memory size of the CGI script (File/Get Info/Memory).
>> 
>> (sorry, I forgot to paste the text of the original message... So here I am
>> again!)
>> 
>> Regards,
>> Will
> 
> Thanks for the good suggestion, but unfortunately it doesn't solve the
> problem. Booting MacPerl to 50 MB, or the cgi-bin to 10 MB (up from the
> suggested 128k) has no effect.
> 
> bummer.
> 
> Bill
> 

Bill,
Sorry that didn't work.  What web server are you running?  I believe there
could be issues in this regard if you are running Apple's web server.  Does
the web server you are using have a memory setting or similar parameter you
can adjust?  Check it out and give it a try.
Regards,
Will