Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread Rob W. W. Hooft
"emf" == ethan mindlace fremen [EMAIL PROTECTED] writes: emf Set logical root: dtml-call "REQUEST.set('SiteRootPATH', '/')" emf Add physicalroot: dtml-call "REQUEST.path.append(hostname)" As far as I can see, with this setup it is not possible to determine from Z2.log which virtual host has

Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread Alexander N Gould
On Tue, 13 Jun 2000, ethan mindlace fremen wrote: dtml-let hostname="_.string.join(_.string.split(_.string.split(HTTP_HOST, ':')[0], '.')[0], '')" dtml-try dtml-if "_[hostname]" Set logical root: dtml-call "REQUEST.set('SiteRootPATH', '/')" Add physical root:

Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread ethan mindlace fremen
Alexander N Gould wrote: On Tue, 13 Jun 2000, ethan mindlace fremen wrote: dtml-let hostname="_.string.join(_.string.split(_.string.split(HTTP_HOST, ':')[0], '.')[0], '')" dtml-try dtml-if "_[hostname]" Set logical root: dtml-call "REQUEST.set('SiteRootPATH', '/')"

[Zope] virtual hosts with ZServer

2000-06-13 Thread Alex Gould
My apologies if this question has been answered before, but I couldn't figure it out from available documentation or list archives. I run a server for some student groups off a machine in my dorm and I'm teaching myself Zope (slowly). I deal with the dynamic IP address by using several

Re: [Zope] virtual hosts with ZServer

2000-06-13 Thread ethan mindlace fremen
Alex Gould wrote: My apologies if this question has been answered before, but I couldn't figure it out from available documentation or list archives. I run a server for some student groups off a machine in my dorm and I'm teaching myself Zope (slowly). I deal with the dynamic IP address