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

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