Hi Wolf, First off, take care with your Mime type. You have it as 'text/html', but your document is not html. Change it to 'text/text'. I had a similar problem. You cannot upload a MacPerl .cgi or .acgi file. It is not a proper text file, just an event handler. They upload as zero bytes. Try uploading the original .pl file, then rename it to cgi (or append your .pl file to .cgi before you upload it, makes no difference). That way, you will get the whole text file, not MacPerl event handler. I hope that helps. Cheers, Richard -- ________________________________________ Richard Smith Artist/ Illustrator/ Site Designer richard@team-artonomy.com, ICQ #29343811 Visit us at http://www.team-artonomy.com/ > From: Wolf Alexander Hauser <woffl@gmx.net> > Reply-To: Wolf Alexander Hauser <woffl@gmx.net> > Date: Monday, February 28, 2000 12:00 am > To: David Steffen <steffen@biomedcomp.com>, macperl-webcgi@macperl.org > Subject: Re: [MacPerl-WebCGI] Document contained no data > >> I sent an email to the requestor asking if he had saved his MacPerl >> script as a CGI, something necessary on a Mac but not on Unix. There >> are other things that can go wrong (and other issues wrt using >> MacPerl for CGIs) but AFAIK, none of them have anything to do with >> the choice of HTTP server software. > > First let me thank you all for your help. But I need some more of it... > > I have saved the script first as "Droplet" then as "Runtime Version", > but it did'n help. It's called "demo.cgi" now, and when I try to > run it out of Netscape, (the droplet version), the MacPerl window > appears showing > "Content-type: text/html > Hello, Wold!" > QPQ it busy for a while and when I click on the Netscape Browser > window to bring it to the front again, I get this "document contained > no data"-alert. > This is what I found in a mail by Thorsten Dittmar sent to this > mailing list: > "3) When I don't touch the memory assignment for the cgi file (by default 128 > KB), I get a "document contained to data" message. When I increase the > memory assigned, I get this incomplete HTML code. However, assigning more > and more memory has no effect on how much output I get." > So I also changed the memory assignment, but even with 10MB (!) Netscape > gives that alert. > > Do you think it's possible, that the QPQ-settings are responsible > for the problem? As I don't know out myself with servers, I hardly > didn't touch them, the only thing I did so far was selecting a root > folder. Do I have to change anything else? > > Any other ideas? > > Wolf Hauser > > -- > "HINREISSEND!" -- Frau Hack 1993 über Herr Pribils Vollbart > > > > ==== Want to unsubscribe from this list? > ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org > ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org