Hey Guys,
I have two Debian distros that run Server API cgi and cgi/fastcgi modules rather apache handler module. One of them is running php 4.4.9 with server api cgi and the other one is running php 5.3.3-7+squeeze19 with server api cgi/fastcgi.
My problem with these servers is I can't figure out how to parse any .ext as PHP for instance file.shell.
Its easy if you are running Linux Ubuntu 16.4 or Mac 10.11.x with Server API Apache 2.0 Handler and PHP5 which all you have to do is add 'AddType application/x-httpd-php .shell' to your .htaccess
This works beautifully with Apache 2.0 Handler but doesn't work with Server Api cgi and fastcgi Handler
what do I have to add to .htaccess to parse php codes with any extension with Debian distro running server api that is not apache handler?
Thank you
I have two Debian distros that run Server API cgi and cgi/fastcgi modules rather apache handler module. One of them is running php 4.4.9 with server api cgi and the other one is running php 5.3.3-7+squeeze19 with server api cgi/fastcgi.
My problem with these servers is I can't figure out how to parse any .ext as PHP for instance file.shell.
Its easy if you are running Linux Ubuntu 16.4 or Mac 10.11.x with Server API Apache 2.0 Handler and PHP5 which all you have to do is add 'AddType application/x-httpd-php .shell' to your .htaccess
This works beautifully with Apache 2.0 Handler but doesn't work with Server Api cgi and fastcgi Handler
what do I have to add to .htaccess to parse php codes with any extension with Debian distro running server api that is not apache handler?
Thank you

