Generally, when you get that CGI error, it has something to do with the hash-bang line, not the script itself.
1. Check you have perl installed where it says
2. Check that you haven't some how gotten a Windows newline by mistake after the hash-bang line (which can confuse sh)
It's not that it can't find the script, it can't find Perl to execute the script.
As for Windows, CVS Monitor is not supported under windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I am running into issue with installing CVS monitor on solaris 7. I have installed the following components:
Apache 1.3.27 (configured to run cgi perl scritps)
perl 5.8.0
gd-1.8.4
GD-1.41 perl module
Bundle::CVSMonitor for perl
The problem I am running into is that I can't execute the setup.pl script from the webbrowser. I am trying to access the script as follows:
http://localhost/cgi-bin/cvsmonitor/setup.pl
However, I am getting "Internal Server Error" on my webpage and the following error in the apache error log:
[Mon Sep 29 12:12:05 2003] [error] (2)No such file or directory: exec of /usr/local/apache/cgi-bin/cvsmonitor/setup.pl failed
[Mon Sep 29 12:12:05 2003] [error] [client 10.56.26.25] Premature end of script headers: /usr/local/apache/cgi-bin/cvsmonitor/setup.pl
Please help!! I've been working on this for the past week.
Thanks in advance!!
Have you got any replies.. I am also getting the same error in Windows... :(
Generally, when you get that CGI error, it has something to do with the hash-bang line, not the script itself.
1. Check you have perl installed where it says
2. Check that you haven't some how gotten a Windows newline by mistake after the hash-bang line (which can confuse sh)
It's not that it can't find the script, it can't find Perl to execute the script.
As for Windows, CVS Monitor is not supported under windows.