Hi guys,
I've a problem on one of my servers, and I'm getting mad trying to understand why it happens and how to solve it.
The thing goes as follows: I've a website which (weirdly) has files such as "dvd.php.html". Ovbiously, my intuition is that these files should be handler by apache as normal .html files, whereas, in fact, it is sending them through fcgid. Moreover, it tries to run them as fcgid handlers, as can be seen in the suexec.log files:
Code:
[2009-07-01 10:22:27]: uid: (2162/vu2162) gid: (2162/vu2162) cmd: dvd.php.htm
[2009-07-01 10:22:27]: directory is writable by others: (/var/www/virtual/passatsdecanto.com/htdocs)
Normal "php" files get executed through the ispcp-defined handler, as they should be. In these cases, the logfile looks like:
Code:
[2009-07-01 11:41:47]: uid: (2126/vu2126) gid: (2126/vu2126) cmd: php5-fcgi-starter
So, my question is: how the hell can I tell apache that "*.php.htm" are NORMAL html files and should be server as usual? Further, why is it willing to send them through fastcgi in the first place?
Thanks y'all!
For completeness, here are the system specs and the other related logfiles:
System:
Code:
Debian Lenny 32bits
IspCp 1.0 stable
Fcgid
/var/log/apache2/users/domain.com-error.log:
Code:
[Wed Jul 01 10:22:30 2009] [notice] mod_fcgid: process /var/www/virtual/domain.com/htdocs/dvd.php.htm(30373) exit(communication error), terminated by calling exit(), return code: 116