Dudeberry
2007-07-09 10:06:33 UTC
I have perl installed (its on debian) The script works fine when I run it through the shell. But when I try through the webserver(apache) it doesnt want to run. The 'add-handler cgi-script .cgi .pl' is in httpd.conf. When I check the error log it says:
"(2)No such file or directory: exec of xxxx failed
Premature end of script headers: xxxx"
where xxxx is my script. clearly the script is there becuase it works from the shell. I dont have any ScriptAlias which could be preventing it from working....
any ideas anyone :-(