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 1225820 - httpd -D DUMP_VHOSTS shows all vhosts 2 times
Summary: httpd -D DUMP_VHOSTS shows all vhosts 2 times
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: httpd
Version: 7.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Martin Frodl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-28 09:48 UTC by Mario Trangoni
Modified: 2021-01-14 09:33 UTC (History)
5 users (show)

Fixed In Version: httpd-2.4.6-34.el7
Doc Type: Bug Fix
Doc Text:
Cause: When processing a vhost with * or _default_, httpd added the vhost's alias once for 0.0.0.0 and once for [::]. Consequence: The apachectl -D DUMP_VHOSTS showed these vhosts twice. Fix: httpd now detects mentioned situation and adds vhost's alias just once. Result: The apachectl -D DUMP_VHOSTS shows all vhosts just once.
Clone Of:
Environment:
Last Closed: 2015-11-19 04:37:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 928761 0 unspecified CLOSED httpd -D DUMP_VHOSTS shows all vhosts 2 times 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:2194 0 normal SHIPPED_LIVE httpd bug fix and enhancement update 2015-11-19 08:05:27 UTC

Description Mario Trangoni 2015-05-28 09:48:29 UTC
Description of problem:

I found that this bugfix (https://bugzilla.redhat.com/show_bug.cgi?id=928761) and this(https://bugzilla.redhat.com/show_bug.cgi?id=928761)is not integrated in RHEL7.1.

It would be nice to have a cleaner output.

Version-Release number of selected component (if applicable):

# yum info httpd.x86_64
Loaded plugins: changelog
Available Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.6
Release     : 31.el7
Size        : 1.2 M
Repo        : rhel-7-server-rpms/7Server/x86_64
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.


How reproducible:


Steps to Reproduce:
1. httpd -D DUMP_VHOSTS

Actual results:

         port 80 namevhost hans.tests113.de (/etc/httpd/sites/vhosts:112)
                 wild alias *.hans.tests113.de
         port 80 namevhost hans.tests113.de (/etc/httpd/sites/vhosts:112)
                 wild alias *.hans.tests113.de
         port 80 namevhost tests113.de (/etc/httpd/sites/vhosts:123)
                 wild alias *.tests113.de
         port 80 namevhost tests113.de (/etc/httpd/sites/vhosts:123)
                 wild alias *.tests113.de
         port 80 namevhost test1.de (/etc/httpd/sites/vhosts:159)
                 wild alias *.test1.de
         port 80 namevhost test1.de (/etc/httpd/sites/vhosts:159)
                 wild alias *.test1.de
         port 80 namevhost test2.de (/etc/httpd/sites/vhosts:196)
                 wild alias *.test2.de
         port 80 namevhost test2.de (/etc/httpd/sites/vhosts:196)
                 wild alias *.test2.de
         port 80 namevhost test3.de (/etc/httpd/sites/vhosts:233)
                 wild alias *.test3.de
         port 80 namevhost test3.de (/etc/httpd/sites/vhosts:233)
                 wild alias *.test3.de

Expected results:
         port 80 namevhost hans.tests113.de (/etc/httpd/sites/vhosts:112)
                 wild alias *.hans.tests113.de
         port 80 namevhost tests113.de (/etc/httpd/sites/vhosts:123)
                 wild alias *.tests113.de
         port 80 namevhost test1.de (/etc/httpd/sites/vhosts:159)
                 wild alias *.test1.de
         port 80 namevhost test2.de (/etc/httpd/sites/vhosts:196)
                 wild alias *.test2.de
         port 80 namevhost test3.de (/etc/httpd/sites/vhosts:233)
                 wild alias *.test3.de

Additional info:

Comment 7 errata-xmlrpc 2015-11-19 04:37:51 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-2194.html


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