I have compliled a version of php as a cgi
I placed it in my personal cgi-bin directory and added the following lines to my .htaccess file:
Action application/x-myphp /data/httpd/vhosts/mydir/cgi-bin/php4.cgi
AddType application/x-myphp php
when I load a file called info.php it gives me an error:
The requested URL was not found on this server
if i run from the command line ./php4.cgi ../httpdocs/info.php it runs just fine.
So I am guessing something is wrong with the stuff I have added to the .htaccess. Can anyone tell me what I should be putting there?
Thanks!