[Zope3-dev] Virtual hosting

Gary Poster gary@modernsongs.com
Mon, 10 Feb 2003 10:59:09 -0500


Albertas Agejevas wrote:
> Hi all,
> 
> It appears that we'll be needing some kind of virtual hosting solution
> soon.  Any strong opinions on how it should be done?

Yes, I think. :-)

> I guess a virtual host monstrosity traversal hook along the lines of
> /++virtual++/foo.com/path/to/root/ or better yet
> /++virtual++/path/to/root/foo.com/ would be quite appropriate.
> 
> Should I write a proposal for that?

Sounds great.  Once I have time I'd like to see if we can do some of the 
more useful stuff that my old, somewhat scary VirtualHostFolder did, 
too.  Specifically, that would be

  - allow all configuration TTW, including what domain goes to what location

  - allow extensibility of virtual host behavior

  - allow reasonably powerful domain-matching tools--I think the 
FreeZope behavior of allowing subdomains to be used to calculate folders 
is extremely useful for the right site, and this was something that my 
VHF could do (I don't know if that's what FreeZope uses)

I have some more vague thoughts on how Zope 3's features might be used. 
  Hopefully I can participate more as you work through your proposal.

Gary