Hello beginners-cgi,

Connie,

1. Do you have the right to run CGI at your server ?

Sure, I've got my own Apache-server.

2. Do you know if you are pointing your perl compiler
at a right path( #!/usr/bin/perl) ?  You can't just copy this from
book. Different server may config it at different location..

The shebang is ok, check http://voelspriet2.nl/cgi-bin/perldiver.cgi


So here we go again:

This is the script:

#!/usr/bin/perl

print "Content-type:text/html\n\n";

print "Show me the monkey"; #this line prints the sentence "Show me the monkey"

It runs here:

http://voelspriet2.nl/cgi-bin/comments.cgi

You can see the error. The CHMOD is 755.

Now if I edit the script and remove that stranges boxes (they weren't
in the original text) everything goes fine, check

http://voelspriet2.nl/cgi-bin/commentgood.cgi


PS

This is what another user has sent me:

its a windows/unix difference..  windows uses carage+return linefeed like old
typewriters to signal a line break... unix uses a single code that takes
care of it.. those boxes should just be where unix put its return code... no
worries.. just delete and line it back up..


-- 
Best regards,
 Henk                          mailto:[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to