You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/08/18 11:50:45 UTC

[Bug 64675] New: missing ServerAlias in httpd -t -D DUMP_VHOSTS output

https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

            Bug ID: 64675
           Summary: missing ServerAlias in httpd -t -D DUMP_VHOSTS output
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: icqprice@gmail.com
  Target Milestone: ---

httpd -t -D DUMP_VHOSTS doesn't print ServerAlias if there's only one
VirtualHost declared for specific address and port.

<VirtualHost *:80>
    ServerName dummy-host.example.com
    ServerAlias www.dummy-host.example.com
    ServerAlias *.dummy-host.example.com
</VirtualHost>

<VirtualHost *:80>
    ServerName dummy-host2.example.com
</VirtualHost>

<VirtualHost *:8080>
    ServerName 8080-dummy-host.example.com
    ServerAlias www.8080-dummy-host.example.com
    ServerAlias *.8080-dummy-host.example.com
</VirtualHost>

For this configuration httpd -t -D DUMP_VHOSTS prints this:

VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server dummy-host.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:1)
         port 80 namevhost dummy-host.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:1)
                 alias www.dummy-host.example.com
                 wild alias *.dummy-host.example.com
         port 80 namevhost dummy-host2.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:7)
*:8080                 8080-dummy-host.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:11)


There's no output for ServerAlias records for VirtualHost *:8080.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64675] missing ServerAlias in httpd -t -D DUMP_VHOSTS output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

--- Comment #1 from Henadzi Siardziukou <ic...@gmail.com> ---
Created attachment 37396
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37396&action=edit
patch for bug 64675

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64675] missing ServerAlias in httpd -t -D DUMP_VHOSTS output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

Henadzi Siardziukou <ic...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
           Severity|enhancement                 |normal

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64675] missing ServerAlias in httpd -t -D DUMP_VHOSTS output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

--- Comment #3 from verne.britton@gmail.com ---
anyone have thoughts on this issue, and the suggested fix ??

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64675] missing ServerAlias in httpd -t -D DUMP_VHOSTS output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

verne.britton@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |verne.britton@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64675] missing ServerAlias in httpd -t -D DUMP_VHOSTS output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

--- Comment #2 from Henadzi Siardziukou <ic...@gmail.com> ---
With patch applied httpd -t -D DUMP_VHOSTS prints this:

VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server dummy-host.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:1)
         port 80 namevhost dummy-host.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:1)
                 alias www.dummy-host.example.com
                 wild alias *.dummy-host.example.com
         port 80 namevhost dummy-host2.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:7)
*:8080                 8080-dummy-host.example.com
(/home/user/bin/conf/extra/httpd-vhosts.conf:11)
                 alias www.8080-dummy-host.example.com
                 wild alias *.8080-dummy-host.example.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org