CGI scripts downloading instead of running on Apache
I've setup an apache server on my desktop (Suse 10.2) to play around with perl, php and coldfusion. I installed Apache and setup the directory that i want to use (/home/jsatt/public_html). I have php and perl installed and running. Php scripts run fine. but when i call a perl script from a cgi or pl file, the browser tries to download the file and the error log shows...
I've been told on IRC to check http://httpd.apache.org/docs/2.0/howto/cgi.html, which i did and setup everything as it told me too. I also made sure that suexec is running. These are old scripts that used to run on another apache server i used to have so i know that they work.
[Thu Dec 21 16:23:33 2006] [error] [client 192.168.1.100] (2)No such file or directory: exec of '/home/jsatt/public_html/access/www/7-52/web/index.cgi' failed, referer: http://192.168.1.100/access/www/7-52/web/
[Thu Dec 21 16:23:33 2006] [error] [client 192.168.1.100] Premature end of script headers: index.cgi, referer: http://192.168.1.100/access/www/7-52/web/
my httpd.conf has these related directives
any idea on what else i might be missing?
Options Indexes FollowSymLinks MultiViews +ExecCGI +Includes
Allow from all
AddHandler cgi-script .cgi .pl