https://issues.apache.org/bugzilla/show_bug.cgi?id=51517

--- Comment #19 from Stefan Rubner <[email protected]> ---
(In reply to Nick Kew from comment #17)
> I've been running it configured with AddHandler for PHP-FPM.  I guess from
> comments here a solution configured this way may behave differently when
> configured using ProxyPass or (shudder) RewriteRule?

I would think that using the SetHandler approach together with FilesMatch as
documented here:

http://httpd.apache.org/docs/current/mod/mod_proxy_fcgi.html#examples

currently is the best approach. 

However, this method is only available from Apache 2.4.10 onward. Also I think
that there's another "thinko" in the example. Imho it should read <FilesMatch
\.php> (note the missing $) so the handler would also trigger for URIs like
/path/to/my.php/with/some/added/stuff?and=vars ;)

The AddHandler method was the one we were using before, but didn't find a good
way to use it together with more than one PHP-FPM instance. That's why I
explored the proxy_balancer way combined with fcgi:// BalancerMembers. The good
news is that this will alos work with the SetHandler method according to my
tests. That said I still have some issues but didn't find the time to do some
further testing. Maybe I'll find more time in the next few days.

-Stefan

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to