Hi Brian,

I think the primary reason it was never added is that mongrel2's goal is
to serve up dynamic content, and so the directory handler is just for
serving up static assets in support of that.


People have hacked up various ways of doing this with handlers.  Now
that there is sendfile support, it should be fairly easy to make a fancy
directory listing handler if you so choose.

Whether or not it belongs as a built-in is up for discussion I suppose.
It certainly should be off by default for security reasons.

Regards,
Jason

On 12:08 Thu 07 Nov     , Brian McQueen wrote:
>    I wonder if there is a good reason to not add directory listing to the
>    basic http service provided. Â It would ease acceptance of mongrel2.
>    Â I've got it deployed here but folks keep asking for directory
>    listing. It seems reasonable to add it ad basic http support. Â I'd
>    like to be able to deploy mongrel2 so folks can get basic http and they
>    can do handlers for complex tasks. Â
>    I'd be willing to add this, but I can't do it now. Â
>    Is there a good reason to keep it out of the built-in mongrel2 http
>    service?
> 
> References
> 
>    Visible links
> 
>    Hidden links:
>    2. http://twitchy.com/

Reply via email to