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

Re: [MacPerl-WebCGI] document contains no data



Hi Keiko,

Reinhold seems to have answered most of the problems
there. I put it down to a Netscape foible too. I have
found that Netscape can be a little sensitive to the
MIME header too. I always print it on a seperate line
(rather than including it in a 'here' print),
otherwise Nutscrape gets confused.

Have you saved your script as a '.cgi' extension?

Richard

--- Keiko Schneider <kschnei@iwaves.net> wrote:
> Richard,
> Thank you for answering my post and being willing to
> help me. I am going to
> have to answer your question in plain English. 
> (Then you can translate for
> me later.  I would appreciate.)
> 
> I have a .pl file, and I am still testing on my
> local server stage before I
> send it up.  I have Quid Pro Quo.  I put the file
> under cgi-bin where I can
> access using IP # 127.0.0.1, and I see the name of
> the file.  I click on
> the link and says it doesn't contain data.  Some
> scripts work just fine.
> 
> Yes, you are right, I am using Netscape, but since
> the Explorer is open.  I
> will try with it.
> 
> Could you tell me anything I am doing wrong?  I am
> saving as cgi from
> MacPerl.  I would greately appreciate your help.
> 
> Sincerely yours,
> Keiko Schneider
> 
> 
> >The server is probably executing your script
> instead
> >of reading it. If the script doesn't send anything
> >back to the browser, you will get that error. I
> assume
> >you are using Netscape?
> >
> >Do you want to read the script, or are you trying
> to
> >execute it?
> >
> >Richard
> >
> >--- Keiko Schneider <kschnei@iwaves.net> wrote:
> >> Dear all,
> >> Sorry for asking such a stupid question.  I have
> .pl
> >> file saved as CGI and
> >> try to open it from the server through browser. 
> It
> >> keeps coming back
> >> saying the document contains no data.  Do you
> have
> >> any idea how to fix this?
> >>
> >> TIA,
> >> Keiko Schneider
> >>
> >> ---------------------------------------
> >> Keiko Schneider (kschnei@iwaves.net)
> >> My bookmarks:
> >> http://www.iwaves.net/~kschnei/bookmarks
> >>
> >>
> >>
> >>
> >> ==== Want to unsubscribe from this list?
> >> ==== Send mail with body "unsubscribe" to
> >> macperl-webcgi-request@macperl.org
> >>
> >
> >
> >=====
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Bid and sell for free at http://auctions.yahoo.com
> 
> 
> ---------------------------------------
> Keiko Schneider (kschnei@iwaves.net)
> My bookmarks:
> http://www.iwaves.net/~kschnei/bookmarks
> 
> 
> 
> 


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org