Features Mongrel2 needs to replace Nginx (at least for my uses)
- From:
- Jon Rosebaugh
- Date:
- 2011-02-21 @ 01:56
To the best of my knowledge, none of these are already addressed in the tickets.
* The simple Response route discussed in this message:
http://librelist.com/browser//mongrel2/2011/1/27/redirect-routes/#a632926cc3bce8577e002e3687210561
* A way to make Hosts match exactly, not substring-match from the end
of the Host header. The manual says you can use $ to anchor at the end
of the string, but nothing about the beginning. I saw that the
pattern-matching language comes from Lua, so I looked at the lua
manual and saw ^ for the beginning. Tried that, and either I did
something wrong or it didn't work.
* Be able to have Dir autogenerate index.html files based on the
contents of a directory
* More customizable logging; I like to log the Referer header, for one thing.
* Host/Route-specific limits.content_length; I'll have one host that
proxies to apache running mod_svn, and I need a much longer
content_length permitted for this host only. (Or whatever the
equivalent of nginx's'client_max_body_size directive is)
I've also opened a ticket about the 'matching' directive in Host
(http://mongrel2.org/tktview/93af157679388b2d9a91cabce3258239c37b2d5e).
Basically, the C-language m2sh ignores it, I think incorrectly. The
manual contradicts examples Zed has given from time to time, and I've
noticed some confusion in some messages in the mailing list archives,
so I wanted to draw attention to it.