Further, if you're using apache 2 as your front end reverse proxy, you'll be
fine running it as your backend static web server as well (in a different
configuration); it's another instance, not a whole different app type to
monitor. If your monitoring framework can do it in the first layer, it c
I understand the thinking behind this but I still don't understand why PHP
should serve static files.
You can still forward static content to the machine running PHP but to a
different port as an HTTP request. You can have any Web server of your
choice on that machine serving static files, and it c
is the idea...
for the moment i use apache module mimetype with an artifact to correct static
file type.
and they not modify type if is setted by php script, they transmit it to the
brownser...
they work prefectly with script who force type.
Best Regards,
Mathieu
_
From: Richard Lynch
hi,
the reverse proxy way (is complet different way than old apache fastcgi that
is apache handler like mod_php) of apache is only proxy that redirect all
request to there backend with new connection (some time with different
protocole than front protocole, ex: https to http, http to ajp...).
Making the PHP SAPI extension know how to handle static files does not sound
like the right solution to me. You should be able to redirect the PHP
requests only to PHP's FastCGI (which already works today incl. remotely),
and redirect the static content to a Web Server (thttpd or something alike).
On Sun, November 26, 2006 4:59 am, Mathieu CARBONNEAUX wrote:
> they only execute by the php interpreter file with a list of extension
> (.php .php4 .php5...)
Shouldn't it use the MimeType set by httpd.conf/.htaccess ???
E.g., Many users will ForceType a dynamic 'phpscript.png' to output a
GD ima
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 possib