On 2009-12-28, at 10:06 PM, Darcy Brodie <[email protected]> wrote:

From the script for the password program, when I run it from the browser, I get (2)No such file or directory: exec of '/var/www/cgi-bin/ batchsetup.cgi' failed
   Premature end of script headers: batchsetup.cgi

It sounds like something is in the wrong place. Try running perl -c batchsetup.cgi from the command line. Also make sure that the path to perl in batchsetup.cgi is correct. The path to perl should be the very first line, beware of blank lines and any space preceding #. Check spelling of script name and pathname. Make sure Apache is executing .pl and .cgi scripts. Convert the script to Unix if it was created or transferred from a DOS box.

Dean

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to