Execution of a .cgi program on a Linux server
My webhost server is running Operating system Linux, Kernel version 2.6.10-2.3.legacy_FC2smp, with Apache version 1.3.37 (Unix) installed. I am trying to execute a guestbook.cgi program on it.
The path to perl is /usr/bin/perl. I have made reference in the .cgi file to this path like so #!/usr/bin/perl .
I believe I have set up the guestbook.cgi and guestbook.config programs correctly.
So when I try to access the guestbook.cgi through the http url, I get this...
"The requested URL /public_html/cgi-bin/guestbook.cgi was not found on this server."
My question is... in the guestbook.cgi prog, does this line...
#!/usr/bin/perl .... need to look like this.....
!/usr/bin/perl ..... with the # char. removed because perl see that character as a comment?
should it be.....
Thank in advance for your help!!!