[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Is there a problem with MacPerl's CGI extension file?



On 3 Jul 98, at 14:29, Stˇphane Jose wrote:

> Problems occur once the script is saved as a cgi applet. When I use the
> cgi applet with Webstar 2.0 it returns the following error:
> 
> Error -1700: Getting CGIreply string (Reply Data could not be coerced to
> requested type (char)) Error executing CGI application.
> 07/03/98	12:45:16	OK
>  192.168.0.2:exulon:cgi-bin:invent:invent.cgi	0
> 

I *think* I've seen this when attempting to return more data than the 
CGI->WebServer interface will support. I understand that the limit is 
somewhere in AppleEvents, and I've seen it variously quoted as 32Kb, 
64Kb or unlimited for particular combinations of MacPerl and/or MacOS 
versions. Try just returning 'Hi there' from your program as a test.

Jon.
--
Jon Warbrick, Computer Systems Manager,                jw35@cus.cam.ac.uk
St John's College, Cambridge, CB2 1TP, UK.             +44 (0)1223 338751
(also webmaster, computer-support and part-time postmaster@joh.cam.ac.uk)

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch