Hello Ben,

On Mon, Apr 11, 2011 at 1:32 AM, ben <[email protected]> wrote:

> Given a vServer which maps the nickname www.example.com to a folder,
> everything is fine and www.example.com is correctly mapped to that folder.
> But if I'm adding a second vServer *after* that vServer, for example one
> which
> maps a regular expession (.*)example.com to a folder, then the first
> vServer
> did not match anymore :(
>

I guess you are matching the first one by it's nickname, aren't you?  Thing
is, nicknames are evaluated as a second -less reliable- option after the
actual virtual server match. First, all the matches are tested, and only if
none of them matched the request, the nicknames are tested.

If I guessed the source of the problem correctly, it'd be enough to add "
www.example.com" to the match of the first virtual server. For instance
"wildcard" and "www.example.com".

-- 
Greetings, alo
http://www.octality.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to