On Wed, Jan 25, 2017 at 6:12 PM, David Zuelke <d...@heroku.com> wrote:
>>   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>

I think only the former would pass the original requested path as
PATH_INFO, unless there was more config w/ the latter (e.g. sending
everything to some single front controller so this snippet always sees
index.php)

Reply via email to