new apache fastcgi implementation and php fastcgi patch
| From: | Mathieu CARBONNEAUX | Date: | Sun, 26 Nov 2006 10:59:03 +0000 |
| Subject: | new apache fastcgi implementation and php fastcgi patch | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-26716@lists.php.net to get a copy of this message | ||
hi every body,
i've developped a new implementation of fastcgi module for apache.
i'have used the scheme handler of mod_proxy of apache like new mod_proxy_ajp in apache 2.2...
the idea is to make possible proxyfy php application behind apache (for security et and
performance...).
to make possible to execute fastcgi in one machine and apache in other machine... separed by
firwalle (two DMZ)...
the developpement of the old module as been stoped...
is why i've decide to reimplemente all in new code with decente licence (apache 2 licence...for
the moment...)
but in this way php receve all request: image, binary file, static file....and also php file...
for the php file no probleme... but for binary and image... they try to interpret systematicly...
to evitate this i've modify the fastcgi sapi to handle this in the good way...
they only execute by the php interpreter file with a list of extension (..php .php4 .php5...)
all other file are served directly...
i've also modify the sapi to handle index file (index.html index.php...)....
i have some dev to add new parametterer in php.ini to handle this addition...
but after how i can add to php trunck my dev ?
they modify only php cgi/fastcgi sapi !
my code are her: http://mproxyfcgi.sourceforge.net/
Best Regards,
Mathieu