[BlueOnyx:20117] Re: PHP-FPM and .php in url - file not found

Michael Stauber mstauber at blueonyx.it
Tue Sep 27 20:26:40 -05 2016


Hi Darren,

> If we examine the site specific httpd config we see the line:
> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9042/home/.sites/137/site42/web/
> This says - any url with .php in it, pass to fcgi. This is why we get "file not found" instead of the wordpress not found error.

That is indeed pretty clever and it solves a lot of the issues that our
current PHP-FPM implementation has.

Many thanks for digging this up! I'll publish an update that will make
this the new default when PHP-FPM is activated.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list