durusmail: quixote-users: StaticDirectory serving index files again
StaticDirectory serving index files again
StaticDirectory serving index files again
Neil Schemenauer
2004-09-30
On Tue, Sep 28, 2004 at 01:26:06PM -0700, Shalabh Chaturvedi wrote:
> The patch attached adds a feature to util.StaticDirectory enabling
> it to return an index page (such as index.html) instead of
> directory listing.  A parameter in __init__() specifies a tuple of
> filenames that are looked up in the directory

Should be a list not a tuple.

> This would be very useful for me (and I hope for others too) as I
> wouldn't have to maintain separate version for my use. Any chance
> of it getting into Quixote?

I guess it looks safe to apply to the 1.x branch.  Anyone else want
to voice support for it?  I have no problems adding something like
this to the 2.0 version of StaticDirectory.

  Neil

reply