[Zope] VirtualHostMonster
Oleg Broytmann
Oleg Broytmann <phd@mail2.phd.pp.ru>
Thu, 8 Feb 2001 17:37:16 +0300 (MSK)
On Wed, 7 Feb 2001, Evan Simpson wrote:
> > The problem is that currently VirtualHostMonster receives only 3
> > parameters - protocol (http), virtual server domain (www.foo.com) and Zope
> > folder (/vhosts/foo). It need to receive yet another parameter - virtual
> > host path (www.foo.com/Zope in my example).
>
> I considered adding this, but it's more complicated to spell than the other
> two, and they take care of 95% (estimated) of the virtual hosting setups out
> there, so I left it out of the first cut. I'd be happy to add it to the
> next version. Can you suggest a spelling?
I am not sure. It depends on how VHM is implemented. Does it use
traversing machinery? Should I use only slashes or can use other
separators?
What about the following way:
/VirtualHostBase/http:www.foo.com/Zope:/root/foo_folder/VirtualHostRoot/
Here go the protocol, hostname, virtual path and zope folder.
Oleg.
----
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.