php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #71379 Add support for Apache 2.4 mod_proxy_balancer to FPM
Submitted: 2016-01-15 03:54 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: matt at haught dot org Assigned:
Status: Open Package: FPM related
PHP Version: 7.0.2 OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: matt at haught dot org
New email:
PHP Version: OS:

 

 [2016-01-15 03:54 UTC] matt at haught dot org
Description:
------------
When using Apache 2.4's mod_proxy_balancer and fpm, Apache does not prefix the request with "proxy:fcgi://". As a result, the request from the balancer is never caught to have its query string cut out. Any request with a ? will then fail.

The attached patch simply moves the existing query string cutting out of the "proxy:fcgi://" block and into its own. It only will make this action if env_server_software equals Apache rather the just those requests with the "proxy:fcgi://" prefix.


Patches

add-balancer-support-v2 (last revision 2016-01-15 04:01 UTC by matt at haught dot org)
add-balancer-support (last revision 2016-01-15 03:59 UTC by matt at haught dot org)

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 07:01:34 2019 UTC