On Thu, 2006-06-22 at 16:49 -0400, [EMAIL PROTECTED] wrote: > Hello. Prospective Mongrel user here. > > Can Mongrel act as a server for eruby or erb files? >
Yep, but it'd be difficult since you'd be working right at the bare metal of HTTP protocol. Rails is much much better unless you have a specific need to make a small part faster and can't get rails to go. If you want to do this, check out the code from svn (or browse it) and take a look at all of the handlers in the lib/mongrel/handlers.rb file. The ones there run the range of simple status handlers to gzip output filters. There's also the mongrel_upload_progress gem which gives you a handler done as a ruby gem. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
