Quote:
|
Originally Posted by till
This will only work depends if you have a binary named php in your global cgi-bin directory.
For example the php4 binary might be named php4 or php4-cgi and not php, so the rsulting code will be:
Action php4-cgi /cgi-bin/php4
AddHandler php4-cgi .php
or:
Action php4-cgi /cgi-bin/php4-cgi
AddHandler php4-cgi .php
|
Okay, there is a /usr/lib/cgi-bin/php4 on my system, so I added
Action php4-cgi /usr/lib/cgi-bin/php4
AddHandler php4-cgi .php
But now I get a 404: Fehler 404 - Datei nicht gefunden!
Also tried
Action php4-cgi /cgi-bin/php4
as I'm not sure if I have to use the full path there, but the same result...
There is also a /usr/bin/php4-cgi but this isn't working either.
HTML-files are shown correctly...
The error log says: [Fri Jun 22 15:48:13 2007] [error] [client 74.6.28.226] File does not exist: /var/www/web17/web/cgi-bin
melwood