From: Joshua Ballanco Date: 2008-08-19T10:09:38+09:00 Subject: Re: Mapping file-not-found to a .rb file? Marc Heiler wrote: > Would this require > mod_rewrite or are there simpler alternatives? Preferrable I would not > want to run a daemon .rb file. You could just make a Ruby cgi script. Then, yes, some mod_rewrite trickery should get you the desired results. However, you might want to reconsider running a daemon .rb file. The main reason that Rails/Rack/etc. go this route is that starting a Ruby process is often the most intensive part of running a Ruby script (doubly-so in the case of JRuby). Having a Ruby process idling and waiting for requests is often more efficient. -- Posted via http://www.ruby-forum.com/.