> Can somebody give suggestion how to get cgi work.
Run it offline to debug. Hit ctrl-D to send standard output to screen.
Also, make sure the permissions (chmod) are set to 755.
Cameron
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://lis
- Original Message -
From: "Jianping Zhu" <[EMAIL PROTECTED]>
> Can somebody give suggestion how to get cgi work.
I strongly suggest you read the CGI man page
# man CGI
hth
Charles
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://lis
now this i know...
your script needs a few minor changes:
#!/usr/bin/perl# notice the "!" after the "#"
print "Content-type: text/html\n\n"; # notice the "\n\n" ...that
represents two
# new lines, so that the server can
see
Hmm.. that code is missing a " character, also ";" at the end of each line, or
maybe you bad copied your perl code...
First of all check that this line:
#!/usr/bin/perl (check the marks)
is the real path to your perl interpreter ... you can verify doing :
which perl
t