Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.htaccess and ServerApi CGI and fastCGI

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


Possibly Related Threads...
Thread / Author Replies Views Last Post
by onlineuser | D3RFEROct 22, 2025 04:56 PM 0 74 Oct 22, 2025 04:56 PM
Last Post: onlineuser | D3RFER
by nerdyNov 14, 2022 07:35 AM 5 566 Nov 14, 2022 07:35 AM
Last Post: Brief
by spirited_wolf™Aug 8, 2021 12:47 AM 11 1,095 Aug 8, 2021 12:47 AM
Last Post: savetree