Hi all!
I've been trying to get my CGI and Server Side Include scripts to work on my Mandrake 9.1 server running Apache 2.0.47 but so far I have had not luck what so ever.
Originally I was running linux under "linux-secure" but kept getting the error message:
[client 66.166.23.206] stderr from script: (13)Permission denied: exec of '/var/www/html/d2h/public/cgi-bin/datelocal.cgi' failed
So then I rebooted the system and choose the option "linux" and now I'm getting the error message:
[client 66.166.23.206] stderr from script: (2)No such file or directory: exec of '/var/www/html/d2h/public/cgi-bin/datelocal.cgi' failed
The file is there and the permission set are 755 under the users name.
The VirtualHost container looks like this:
<VirtualHost 66.166.23.203>
ServerName optikool.dhs.org
ServerAlias optikoolillusion.dhs.org
DocumentRoot /var/www/html/d2h/public
ScriptAlias /cgi-bin/ "/var/www/html/d2h/public/cgi-bin/"
<Directory "/var/www/html/d2h/public/cgi-bin">
Options ExecCGI Includes
</Directory>
<Directory "/var/www/html/d2h/public">
Options FollowSymLinks Includes
</Directory>
CustomLog /var/www/vlogs/mypage_log combined
</VirtualHost>
This worked perfectly on my Mandrake 9.0 with Apache 1.3.27
Can anybody tell me what I'm doing wrong??? Maybe I just need to go back to Mandrake 9.0 or Apache 1.3.27
Thanks for the help.
optikool
aka
optikoolillusion