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 1225820

Summary: httpd -D DUMP_VHOSTS shows all vhosts 2 times
Product: Red Hat Enterprise Linux 7 Reporter: Mario Trangoni <mjtrangoni>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Martin Frodl <mfrodl>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: isenfeld, jkaluza, jorton, knweiss, mjtrangoni
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 04:37:51 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:

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