Hi Pablo,

> I've been looking in Cherokee for an option to have dynamic
> VirtualHosts. What I've in mind is to host multiple/dynamic virtual
> domains, for example:
>
> * If visitor goes to joe.foobar.com, Cherokee will set the UserDir
> to /home/joe/public_html and DocumentRoot to /usr/share/webapp.  *
> If visitor goes to peter.foobar.com, Cherokee will set the UserDir
> to /home/peter/public_hml and DocumentRoot to /usr/share/webapp.
>
> So Cherokee will be taking the *subdomain* part and using it as a
> variable (%0, to give it a name), so domain names will be:
>
> %0.foobar.com => /home/%0/public_html
>
> Now, I've been looking in Cherokee doc and seems that Cherokee doesn't
> support these kind of things as Apache does with mod_rewrite. In Apache
> you can do this with mod_rewrite, don't know if there are plans to have
> this option in Cherokee.

  The idea is interesting.. :-m but I am not quite sure if it is that
  kind of feature nobody will use at the same time it increases our
  base code.

  Can you think of a way in which generalize it? That might be much
  more useful..  Ideas?


  PS: Sorry for the delay ;)

--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to