httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Zuelke ...@heroku.com>
Subject Re: Summary: Broken FastCGI with httpd
Date Wed, 25 Jan 2017 23:12:35 GMT
On 25.01.2017, at 20:12, Jim Jagielski <jim@jaguNET.com> wrote:
> 
> Can you provide to me a pgp-fpm.conf that you use... Basically,
> I want to create an environ that exactly uses the
> 
>   AddType application/x-php7-fpm .php
>   Action application/x-php7-fpm /php7-fpm virtual
>   <Location /php7-fpm>
>     SetHandler proxy:fcgi://localhost:9000
>   </Location>
> 
> setup. This shows what the httpd conf looks like...
> can you provide a barebones fpm setup?
> 
> Thx!

Just curious; what's the practical difference between that and something like:

<FilesMatch \.php$>
    <If "-f %{REQUEST_FILENAME}"> # make sure the file exists so that if not, Apache
will show its 404 page and not FPM
        SetHandler proxy:fcgi://…
    </If>
</FilesMatch>

?

David


Mime
View raw message