Some additional information:
- When I go to
http://domain.com the PHP code is not interpreted and the index.php is printed out to the user.
- When I rename the index.php to index.php.old fcgid apparently tries to run it directly but fails because it's not an executable (!!! could this be a security hole? Seems like arbitrary executables could be run by the user. Only with his own credentials, but stil...). The line in suexec.log then reads:
Quote:uid: (2010/vu2010) gid: (2010/vu2010) cmd: index.php.old
and then some error message.
- When I rename index.php to index.old it wants to download the file as expected
- When I then change the line
Quote:FCGIWrapper /var/www/fcgi/domain.com/php5-fcgi-starter .php
in "/etc/apache2/sites-enabled/ispcp.conf" to
Quote:FCGIWrapper /var/www/fcgi/domain.com/php5-fcgi-starter .old
It
correctly runs the index.old file as a PHP script! Mind = blown...