Opened 10 years ago

Closed 10 years ago

#10 closed defect (fixed)

Wildcards In ServerAlias Directive

Reported by: Daniel Kahn Gillmor Owned by: Daniel Kahn Gillmor
Priority: major Component: code
Version: 5.10 Keywords:
Cc:

Description

imported from mantis, dash says:

Wildcards In ServerAlias Directive do not get matched!

Removing the wildcard on *.domain.tld, but leaving with *.sub.domain.tld works as expected and yields the desired page.

E.G. One VHost domain.tld and one for sub.domain.tld aliased also as *.sub.domain.tld seems to work.

What still doesn't is also aliasing the domain.tld as *.domain.tld

Change History (2)

comment:1 Changed 10 years ago by Daniel Kahn Gillmor

benbe wrote:

Latest commit in Git fixes the SSL Env Vars in the log, but still has the problem of selecting the wrong VHost if the main domain has a wildcard added as part of the ServerAlias.

dash wrote:

It seems that the code to match wildcards works, but the module does not support the actually selection of that particular ServerAlias, ie. even though the ServerAlias gets matched, the module only uses the ServerName.

and then:

The actual matching of wildcards within the ServerAlias configuration directive works, it is not up to the module to make use of the matched host instead of always using the ServerName for the selected host.

comment:2 Changed 10 years ago by Daniel Kahn Gillmor

Resolution: fixed
Status: newclosed

mantis suggests this is resolved.

Note: See TracTickets for help on using tickets.