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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Henadzi Siardziukou <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

--- Comment #1 from Henadzi Siardziukou <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64675

--- Comment #2 from Henadzi Siardziukou <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]