[Twisted-Python] serving dynamic on root and still serve static somehow
screwtape at froup.com
screwtape at froup.com
Sun Sep 28 05:24:22 MDT 2003
On Sun, Sep 28, 2003 at 11:09:05AM +0200, ccom at gmx.net wrote:
>
> The general question propably is: How can I serve my main web app on root
> but still be able to serve flat files such as images and style sheets.
<snip>
> isLeaf = True
That's the line that's causing your grief.
If you set isLeaf on any resource, twisted.web won't look at its
children.
--
___________ ___________________________________
| Screwtape | http://livejournal.com/~thristian |______ _____ ___ __ _ _ _
|
| "Strange, Enya-like New Age music poured from a cactus." -- Jon Katz
|
More information about the Twisted-Python
mailing list