osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61107] New: Feature Request: Don't ignore ServerAlias when using IP-based VirtualHost Matching


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

            Bug ID: 61107
           Summary: Feature Request: Don't ignore ServerAlias when using
                    IP-based VirtualHost Matching
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: info@xxxxxxxxxxxxxxxxxx
  Target Milestone: ---

Hi,

the documentation states that ServerAlias only has an effect when the
VirtualHost uses *:PORT and not IP:PORT.

This is highly irritating and confusing.
Weirdly enough, the ServerName directive is being used when finding the right
virtual host even when its ip-based matching (at least using SSL).

So a user that wants 1 Domain + 1 Alias on IP A and another 1 Domain + 1 Alias
in IP B must resort to using separate virtual host configurations in order to
make it work. or he must use *:PORT which no longer enforces IP to Domain.

I think this is just an unnecessary behaviour.
why should *:443 match differently than IP:443 regarding the ServerAlias
directives?

Or is it a coincidence that this works at all under SSL because of SNI and was
never supposed to?

regards
Ludwig

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