[Zope] Virtual hosts: How to make proper intra-site URL's?
Rob W. W. Hooft
rob@hooft.net
Thu, 15 Jun 2000 17:34:29 +0200 (CEST)
>>>>> "ES" == Evan Simpson <evan@4-am.com> writes:
ES> ----- Original Message ----- From: Rob W. W. Hooft
ES> <rob@hooft.net>
>> I have set up a site:
>>
>> www.site
>>
>> In this site, there are a few virtual hosts:
>>
>> www.host1 --> www.site/Host1 www.host2 --> www.site/Host2
>>
>> Thanks to a nice access rule, both the left and right names can be
>> used to refer to the information. So far so good.
ES> You mention an Access Rule, but do you have SiteRoots in the
ES> Host1 and Host2 folders?
Yes, I do! So: the URL0..N and PARENT0..N do refer to the right host name.
The problem is that since the "level" is different for "www.host1" and
for "www.site/Host1", so I don't know to which PARENT or URL I need to
refer....
Side effect of the AccessRule is also that the Z2.log file doesn't log
enough any more as I mailed yesterday..... I'd still be interested in a
solution to that problem as well....
Regards,
Rob
--
===== rob@hooft.net http://www.hooft.net/people/rob/ =====
===== R&D, Nonius BV, Delft http://www.nonius.nl/ =====
===== PGPid 0xFA19277D ========================== Use Linux! =========