From: Kirk Haines Date: 2004-05-25T06:35:51+09:00 Subject: Re: Webrick & HOWTO type docs? On Mon, 24 May 2004 14:24:50 -0700, Eric Hodel wrote > These two questions tell me you have one instance that handles many > URLs. Instead of handling this in WEBrick, create a servlet that > handles one level up, and add a dispatcher to it (or inside IOWA, if > you already have one written). > > (Instead of mounting /foo/bar and /foo/baz, mount a servlet at /foo.) What I would like to replicate is basically how I have it working with my mod_ruby handler under Apache. Basically, I have a list of paths. IF a request matches one of the paths in the list, the request goes to Iowa for handling. If not, then it gets handled by the web server. So, really, I want to mount /, but then selectively fall through to let something other than the servlet handle the request. If I can do this, then with the ability of Webrick to serve regular content, an entire application can be handled, along with graphics or static files, from Webrick. It will make it _extremely_ easy to bring an Iowa application up. Thanks, Kirk Haines