Hey, Everyone

I'm currently playing around with Cherokee and considering moving my
personal web site to it---I am loving it so far!  However, I am struggling
with the same issue Matthew had in understanding how to dispatch requests to
different virtual servers that share the same  domain name. I understand
from the documentation and the preceding posts that it is possible to
dispatch to virtual servers by using wildcard or regex matching like so:

code.domain.*
blog\.domain\.(com|org|net)

However, before I migrate all of my subdomains over, I would like to sandbox
Cherokee under a single subdomain, say:

alt.domain.net

And dispatch to virtual servers based on the name of the first subfolder.
 I.E. a match like

alt.domain.net/blog  -> host match for blog virtual server
alt.domain.net/code -> host match for code virtual server

I have been trying to do this with wildcards and regexes, but have
been unsuccessful so far.


Is it possible to have host match key on subdirectories or does host match
only look at the part of the  URL that exists before the first `/` ?

Thanks for your help!

-Charlie
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to