Stewart James -Stootles- <[EMAIL PROTECTED]> wrote:
>I am having an issue with the apache package and can't seem to find any
>reference to it any where, I am hoping someone here can help. This is
>occuring under woody and sid, and occurs with and without suexec.
>
>When trying to run any cgi sccript (even a simple "sh echo content, echo,
>env" script) I get the error
>
>[error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.sh failed

Shell scripts must start with a #! line; something like '#! /bin/sh -e'
will do.

CGI shell scripts are evil, mind you :)

HTH,

-- 
Colin Watson                                     [EMAIL PROTECTED]

Reply via email to