> However, public.net doesn't support subdomain wildcards (if it did, > then listening as both "*.internal.org" and "*.public.net" would solve > this problem). So instead, this could be worked-around by setting > Cherokee to redirect to other internal vservers, using a (rough) > ruleset such as: > > http://public.net/$1/$2 -> http://$1.internal.org/$2 > > Which would result in requests being handled like this: > > http://public.net/somesite -> http://somesite.internal.org > http://public.net/git -> http://git.internal.org > http://public.net/git/someproject -> http://git.internal.org/someproject
I'm not sure how you see this working. If internal.org isn't reachable from the outside, how would you handle the redirects? If done internally by the server, there could still be links on the pages to internal.org pages which you couldn't redirect. _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
