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 2017/05/19 12:31:20 UTC

[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@httpd.apache.org
          Reporter: info@ludwig-gramberg.de
  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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


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

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

info@ludwig-gramberg.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from info@ludwig-gramberg.de ---
ok i had a bad configuration... sry the bug is bogus...

-- 
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