Hi Wolf, instead of "QPQ" (which I was not able to install successfully) for learning and testing I use "MacHTTP", which is small and uncomplicated. And it is sufficcient as long as you limit your requests to not more than 25 per second or so ;-) . It is the little brother of WebStar, but it is no longer supported by WebStar. You find it somewhere in the depths of the net by means of Lycos or Excite. After installation, in case of unsufficient results you can phone me: 04846-6166, in English, Russian, German or Nethergerman. Detlef Lindenthal <detlef@lindenthal.com> Wolf Alexander Hauser wrote: > Hello, > > I have written an HTML-Page for our school's newspaper, and > I think it's looking quite nice (www.nasobem.de). About one > week ago I decided I want to have a guestbook, my own counter > and maybe some more things I can only do by using CGI. > > Now I have to learn programming CGI scripts, and I want to do > this in perl. I have bee searching for a Server software, and > I found one, called "Quid Pro Quo 2.1.2". I also found the > only perl interpreter available for Macintosh, called > "MacPerl 5.2Or4". But the thing doesn't work. > That's why I ask you to help me, although my English is not > perfect (12th grade german school english...). There will be > mistakes, but I expect you will understand my problem anyway. > > I wanted to run the following small perl programm ("demo.pl"): > --------------------------------------------- > #!/usr/bin/perl > > print "Content-type: text/html\n\n"; > print "Hello, Wold!"; > --------------------------------------------- > > It's running fine in MacPerl. > (Script -> Run Script -> demo.pl) > > It's also running on my provider's server. I loaded it up > into my cgi-bin-directory, and it runned well, Netscape 4.5 > shows "Hello, World!" in the browser window. > (www.kollektivwissen.de/cgi-bin/demo.pl) > > But it doesn't run on my own desktop. Quid Pro Quo opens > the MacPerl-software, but then, in spite of writing "Hello > World", Netscape gives an error: > > "The document contained no data. Try again later, or contact > the servers administrator." > > I am unable to solve the problem. Probably it is really simple, > and I'm just behaving very stupid, but I have tried everything > I could imagine to be responsible for the error. To be honest > I have to say that this was not much, as I have no experience > in things like cgis, servers and perl interpreters. > > But I want to learn it, and therefore I ask you to help me. > Thank you very much, > > 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