"Henk Van Ess" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
>
> I just uploaded the following .cgi to my server:
>
> #!/usr/bin/perl
> print "Content-type:text/html\n\n";
> print "Show me the monkey"; #this line prints the sentence "Show me the
monk
> Sure, I've got my own Apache-server.
Then I wonder why you going to Upload it, but not save your file
directly inside the bin ? Are you running them with different OS ?
> print "Content-type:text/html\n\n";
Yes, like Janek said, you may try to make it
print "Content-type: text/html\n\n";
(wi
Henk Van Ess wrote at Sun, 07 Jul 2002 16:27:42 +0200:
> This is the script:
>
> #!/usr/bin/perl
>
> print "Content-type:text/html\n\n";
^^
I'm not sure, whether it plays a role,
but it seems that a blank is missed:
print "Content-type: text/html\n\n";
Best Wishes,
Janek
ie
>
>
>
>- Original Message -
>From: "Henk van Ess" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, July 07, 2002 9:59 PM
>Subject: Odd boxes after uploading
>
>
> > Dear all
> >
> > I just uploaded the followin
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 loca
PROTECTED]>
Sent: Sunday, July 07, 2002 9:59 PM
Subject: Odd boxes after uploading
> Dear all
>
> I just uploaded the following .cgi to my server:
>
> #!/usr/bin/perl
> print "Content-type:text/html\n\n";
> print "Show me the monkey"; #this line print
Dear all
I just uploaded the following .cgi to my server:
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print "Show me the monkey"; #this line prints the sentence "Show me the monkey"
Even after I chmod'ed it to 751 or 755, I got an error! So I
downloaded the script to see what went wrong