Alex Clemesha wrote:
>> root = Resource()
>> root.putChild("foo", File("/tmp"))
>> root.putChild("bar", File("/lost+found"))
>> root.putChild("baz", File("/opt"))
>> root.putChild("varr", File("/var"))
>> root.putChild("buy", PaymentRequired())
>> root.putChild("men", menu())
>> factory = Site(root)
>> reactor.listenTCP(3333, factory)
>> reactor.run()
>> ----------------------------------------------
>> It will not load the second page.
>
> Do you mean that it will not load the page that
> shows the contents of "/lost+found"? Maybe there
> is a problem accessing that directory in the filesystem?
> Apologies if this is not the question you are asking.
>
> -Alex
lost+found would need root access in order to see the contents. It is
the place where files go when the file system gets in a mess, and as
such can contain other peoples files.
dave
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---