Hi,

If I have the following vServers:

wiki.example.com (with Host Match, Method = Match Nickname)
example.com (with Host Match, Method = Wildcards, *example.com)

... then I visit http://wiki.example.com in my browser, Cherokee loads the second vServer, not the first.

If I change the Host Match of the first vServer so that have the following:

wiki.example.com (with Host Match, Method = Wildcards, "wiki.example.com")
example.com (with Host Match, Method = Wildcards, "*example.com")

... then I visit http://wiki.example.com in my browser, Cherokee loads the first vServer.

From what I've read in the documentation, the vServers are evaluated from top to bottom, with the first match handling the request. Why do I see different behaviour in the examples above? Why does "Match Nickname" not work but it does work when using a Wildcard that is identical to the nickname?

It's not a show-stopper, I'm using the second solution for now. It's just contrary to the behaviour I had expected and has made configuring and debugging new vServers take longer than I expected.

Thanks for the awesome help so far guys.

Cheers,
David.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to