Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1374729

Summary: ProxyRemote with HTTPS backend sends requests with absoluteURI instead of abs_path
Product: Red Hat Enterprise Linux 6 Reporter: Marcel Kolaja <mkolaja>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Jan Houska <jhouska>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 6.8CC: dmasirka, jhouska, jorton, luhliari, mfrodl
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd-2.2.15-54.el6.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1372315 Environment:
Last Closed: 2016-11-15 20:59:34 UTC Type: ---
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: 1372315    
Bug Blocks:    

Description Marcel Kolaja 2016-09-09 13:28:34 UTC
This bug has been copied from bug #1372315 and has been proposed
to be backported to 6.8 z-stream (EUS).

Comment 5 Jan Houska 2016-09-27 12:28:39 UTC
Verified:

Old Fail:
httpd-2.2.15-54.el6_8

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Running 'curl -v http://ibm-z10-38.rhts.eng.bos.redhat.com:8080/bar'
* About to connect() to ibm-z10-38.rhts.eng.bos.redhat.com port 8080 (#0)
*   Trying 2620:52:0:1040:de:adff:febe:ef26... connected
* Connected to ibm-z10-38.rhts.eng.bos.redhat.com (2620:52:0:1040:de:adff:febe:ef26) port 8080 (#0)
> GET /bar HTTP/1.1
> User-Agent: curl/7.19.7 (s390x-ibm-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: ibm-z10-38.rhts.eng.bos.redhat.com:8080
> Accept: */*
> 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 404 Not Found
< Date: Mon, 26 Sep 2016 20:41:26 GMT
< Server: Apache/2.2.15 (Red Hat)
< Content-Length: 303
< Content-Type: text/html; charset=iso-8859-1
< Connection: close
< 
{ [data not shown]

101   303  101   303    0     0   4221      0 --:--:-- --:--:-- --:--:--  6446* Closing connection #0

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /bar was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at ibm-z10-38.rhts.eng.bos.redhat.com Port 443</address>
</body></html>
:: [   PASS   ] :: Command 'curl -v http://ibm-z10-38.rhts.eng.bos.redhat.com:8080/bar' (Expected 0, got 0)
:: [   FAIL   ] :: File '/var/log/httpd/ssl_access_log' should not contain 'https://ibm-z10-38.rhts.eng.bos.redhat.com/bar' 
:: [   FAIL   ] :: File '/var/log/httpd/ssl_access_log' should contain ' /bar ' 
'd7db7903-4748-457d-bbea-09324a01cca0'
Test result: FAIL



New Pass:
httpd-2.2.15-54.el6_8.1


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Running 'curl -v http://ibm-z10-38.rhts.eng.bos.redhat.com:8080/bar'
* About to connect() to ibm-z10-38.rhts.eng.bos.redhat.com port 8080 (#0)
*   Trying 2620:52:0:1040:de:adff:febe:ef26... connected
* Connected to ibm-z10-38.rhts.eng.bos.redhat.com (2620:52:0:1040:de:adff:febe:ef26) port 8080 (#0)
> GET /bar HTTP/1.1
> User-Agent: curl/7.19.7 (s390x-ibm-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: ibm-z10-38.rhts.eng.bos.redhat.com:8080
> Accept: */*
> 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 404 Not Found
< Date: Mon, 26 Sep 2016 20:42:46 GMT
< Server: Apache/2.2.15 (Red Hat)
< Content-Length: 303
< Content-Type: text/html; charset=iso-8859-1
< Connection: close
< 
{ [data not shown]

101   303  101   303    0     0   4064      0 --:--:-- --:--:-- --:--:--  6446* Closing connection #0

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /bar was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at ibm-z10-38.rhts.eng.bos.redhat.com Port 443</address>
</body></html>
:: [   PASS   ] :: Command 'curl -v http://ibm-z10-38.rhts.eng.bos.redhat.com:8080/bar' (Expected 0, got 0)
:: [   PASS   ] :: File '/var/log/httpd/ssl_access_log' should not contain 'https://ibm-z10-38.rhts.eng.bos.redhat.com/bar' 
:: [   PASS   ] :: File '/var/log/httpd/ssl_access_log' should contain ' /bar ' 
'c30f2bf1-b037-4cdd-b2a3-61e6027ccf9e'
Test result: PASS

Comment 7 errata-xmlrpc 2016-11-15 20:59:34 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-2016-2768.html