[Mongrel] Static files and mongrel
Kirk Haines
wyhaines at gmail.com
Thu Jun 5 17:13:21 EDT 2008
On Thu, Jun 5, 2008 at 2:45 PM, Emmanuel Pinault <seatmanu at gmail.com> wrote:
> Hi
>
> how does mongrel (without rails or merb) handles Static files? Do I have to
> create a handler for static file handling?
Use the DirHandler. It's one of the standard handlers bundled with
Mongrel. If you look at the Mongrel code, it is in the
mongrel/handlers.rb file.
The general advice, to let whatever is upstream of Mongrel handle
static files, is good advice, though.
Kirk Haines
More information about the Mongrel-users
mailing list