Bug 1374729 - ProxyRemote with HTTPS backend sends requests with absoluteURI instead of abs_path
Summary: ProxyRemote with HTTPS backend sends requests with absoluteURI instead of abs...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.8
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Jan Houska
URL:
Whiteboard:
Depends On: 1372315
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-09 13:28 UTC by Marcel Kolaja
Modified: 2021-01-14 09:36 UTC (History)
5 users (show)

Fixed In Version: httpd-2.2.15-54.el6.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1372315
Environment:
Last Closed: 2016-11-15 20:59:34 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 55892 0 None None None 2016-09-09 13:28:41 UTC
Red Hat Product Errata RHBA-2016:2768 0 normal SHIPPED_LIVE httpd bug fix update 2016-11-16 01:57:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.