https://issues.apache.org/bugzilla/show_bug.cgi?id=56500

--- Comment #2 from Ninos <[email protected]> ---
I think the design is a little bit wrong or wrong implemented. The vhosts with
the wildcard should have a higher priority on a not defined vhost. Here're some
examples:

EXAMPLE 1
Visit:
Domain: example1.com
IP: IP1

Defined vhost:
Domain: example2.com
IP: IP1

Priority:
Current: IP1:example2.com -> wildcard
Should be: wildcard -> IP1:example2.com


EXAMPLE 2
Visit:
Domain: example1.com
IP: IP1

Defined vhost:
Domain: example2.com
IP: IP2

Priority:
Current: wildcard -> IP2:example2.com
Should be: wildcard -> IP2:example2.com


EXAMPLE 3
Visit:
Domain: example1.com
IP: IP1

Defined vhost:
Domain: *
IP: IP1

Priority:
Current: IP1:* -> wildcard
Should be: IP1:* -> wildcard

What I mean is, if all vhosts have a defined ServerName (expect whildcard), the
vhosts shouldn't have a higher priority than the wildcard IF the domain can't
be matched with a vhost. If someone want's to match all undefined ip-requests
to a vhost, he can also use a wildcard for the ServerName. (Servername
*,example1.com, *.example1.com).

This design would be cleaner and more logical.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to