Bug 928761

Summary: httpd -D DUMP_VHOSTS shows all vhosts 2 times
Product: [Fedora] Fedora Reporter: customercare
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: jkaluza, jorton, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: httpd-2.4.4-6.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-28 01:06:19 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 customercare 2013-03-28 12:00:11 UTC
Description of problem:

the dump command prints out each vhost for 2 times in a row.

2.2.22+ did it correctly. but the new 2.4. tree seems to be broken a bit.


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

Apache/2.4.3 (Fedora)

How reproducible:

httpd -D DUMP_VHOSTS

  
Actual results:

a dump looks like this: 

         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
                                                  
as the linenumbers indicate,  the same entry is shown two times in a row. 

Expected results:

An output like this :

         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:

a vhosts looks like this: 

</VirtualHost>
<VirtualHost *:80>
    ServerAdmin webmaster
    SSLProxyEngine On
    DocumentRoot /opt/root/pathtonowhere
    ServerName test2.de
    ServerAlias *.test2.de
    ErrorLog logs/error_log
    CustomLog domlogs/test2.de combined
        <Directory /opt/root/pathtonowhere>
            
            Options -FollowSymLinks +SymLinksIfOwnerMatch

        </Directory>

        ModPagespeed off

</VirtualHost>

Comment 1 Jan Kaluža 2013-05-10 06:52:09 UTC
Repoted upstream with patch as https://issues.apache.org/bugzilla/show_bug.cgi?id=54948.

Comment 2 Fedora Update System 2013-05-17 12:42:11 UTC
httpd-2.4.4-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/httpd-2.4.4-3.fc18

Comment 3 Fedora Update System 2013-05-19 02:39:04 UTC
Package httpd-2.4.4-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing httpd-2.4.4-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8577/httpd-2.4.4-3.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-05-20 09:44:54 UTC
httpd-2.4.4-6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/httpd-2.4.4-6.fc19

Comment 5 Fedora Update System 2013-05-28 01:06:19 UTC
httpd-2.4.4-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-06-02 03:03:27 UTC
httpd-2.4.4-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.