> Having problems running a cgi script and I'm not sure why although its
> probably something really simple!
> 
> My error log says this..
> 
> (2)No such file or directory: exec of /home/video/cgi-bin/test.cgi
> failed
> Premature end of script headers: /home/video/cgi-bin/test.cgi
> 
> The directory and script do exist and those paths are correct! What am I
> missing?
> 
In the first line of your cgi script you'll probably have something like:

#!/usr/bin/perl

Check that:
(a) this path exists and is executable.
(b) you are using unix line endings -- windows line endings usually don't work.

Olly.


_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered 
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to