https://bz.apache.org/bugzilla/show_bug.cgi?id=69168

--- Comment #2 from Yann Ylavic <[email protected]> ---
Created attachment 39796
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39796&action=edit
Proxy balancer canon (and pathinfo) per Balancermember

This patch should fix it, by canonicalizing (and setting pathinfo) where it
belongs for SetHandler proxying via balancer.

Note that the env should now be:

REQUEST_URI=/index.php/pathinfo
PATH_INFO=/pathinfo
PATH_TRANSLATED=/var/www/html/pathinfo
SCRIPT_FILENAME=proxy:fcgi://localhost:9083/var/www/html/index.php
SCRIPT_NAME=/index.php

So a different SCRIPT_FILENAME than in 2.4.59 or earlier, because now it
behaves as if there were no balancer configured/involved (i.e. as if SetHandler
"proxy:fcgi://localhost:9083" was set directly).
IIUC this is what php-fpm expects from httpd (see bug 60576), but if it's an
issue you may need to set
https://httpd.apache.org/docs/2.4/en/mod/mod_proxy_fcgi.html#proxyfcgibackendtype
appropriately.

-- 
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