I am trying to incorporate that file (nph-proxy.cgi) to my site hosted at 1and1.com (can't go wrong with 3 free years:)). I have set permissions to chmod 755 but I still keep getting the server error 500. I know the syntax isn't bad on the cgi file since it was downloaded straight from the owners site.
Can anyone help me out here? I really can't figure out what is wrong. Perhaps it may be the file but I don't know perl so it might as well be arabic to me.
FYI, I have run the file through the CGI monitor with no parameters (as noted by developer) and I get the following result + CGI Check succeeded, which i guess is a good thing and which should also mean that the thing should run with no error.
Through the perl syntax checker, the result is - cgi: File has no correct script header (should be #! /usr/bin/perl) (no output)