14 Jun
2000
14 Jun
'00
4:44 p.m.
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