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: <dtml-call "REQUEST.path.append(hostname)">
> </dtml-if>
> <dtml-except KeyError>
> <dtml-call "RESPONSE.redirect('http://penguinpowered.com/NoHostHere')">
> </dtml-try>
> </dtml-let>
This almost works, but then even the superuser can't access these folders
(unauthorized)!
Help!
---------------
Building highways to reduce traffic is like loosening your belt to reduce
obesity
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )