Bug 1136906

Summary: SetHandler to proxy support
Product: Red Hat Software Collections Reporter: Jan Kaluža <jkaluza>
Component: httpdAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: Ondřej Pták <optak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: httpd24CC: isenfeld, jkaluza, jorton, kanderso, mfrodl, optak, qe-baseos-apps, rcollet, rik.theys
Target Milestone: rc   
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd24-httpd-2.4.10-1.el7 httpd24-httpd-2.4.10-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1136290 Environment:
Last Closed: 2015-06-04 09:12:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1136290    
Bug Blocks:    

Comment 3 Ondřej Pták 2015-05-06 13:06:27 UTC
httpd24-httpd-2.4.6-25.el7
==========================
:: [   PASS   ] :: Copying 00-mpm.conf (Expected 0, got 0)
:: [   PASS   ] :: Copying php.conf (Expected 0, got 0)
:: [   PASS   ] :: Starting httpd (Expected 0, got 0)
:: [   PASS   ] :: Downloading bug1136290.php (Expected 0, got 0)
<?php
$name = "fish";
$value = 42;

echo "$name is $value\n";
?>
:: [   FAIL   ] :: File '/var/tmp/tmp.XtAETNw8Af' should contain 'fish is 42

httpd24-httpd-2.4.12-6.el7
==========================
:: [   PASS   ] :: Copying 00-mpm.conf (Expected 0, got 0)
:: [   PASS   ] :: Copying php.conf (Expected 0, got 0)
:: [   PASS   ] :: Starting httpd (Expected 0, got 0)
:: [   PASS   ] :: Downloading bug1136290.php (Expected 0, got 0)
fish is 42
:: [   PASS   ] :: File '/var/tmp/tmp.74yvorsOYs' should contain 'fish is 42'


# cat php.conf 
<FilesMatch \.php$>
    SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>

# cat 00-mpm.conf 
LoadModule mpm_worker_module modules/mod_mpm_worker.so

Comment 5 errata-xmlrpc 2015-06-04 09:12:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1056.html