[Mongrel] favicon

carmen _ at whats-your.name
Fri Dec 1 15:32:32 EST 2006


> just put the favicon.ico into the root rails directory.  If you're not using rails, then change your line to:
> 
> uri "/", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__))

yeah im Camping on / , which then sends both the file or dirlist, and output from the app at the same time..corrupt images. and confusing html!

guess i will move send_file from DirHandler to a module, then mix it into a StaticFileHandler


More information about the Mongrel-users mailing list