[Mongrel] Mongrel can't handle some URLs that IE6 sends

Eden Li eden.li at gmail.com
Sun Oct 15 13:52:47 EDT 2006


Any examples out there on how I could do this?  The docs on rubyforge
are pretty thin in this area.  I got as far as authoring a mini
gem_plugin, but:

$ mongrel_rails start -S config/mongrel.conf
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Loading config/mongrel.conf external config script
/usr/lib/ruby/gems/1.8/gems/gem_plugin-0.2.2/lib/gem_plugin.rb:163:in
`create': Plugin category handlers does not exist (RuntimeError)
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/configurator.rb:252:in
`plugin'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/configurator.rb:337:in
`run_config'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/configurator.rb:337:in
`open'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/configurator.rb:337:in
`run_config'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/bin/mongrel_rails:117:in
`cloaker_'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/configurator.rb:138:in
`listener'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/bin/mongrel_rails:95:in
`cloaker_'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/configurator.rb:51:in
`initialize'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/bin/mongrel_rails:82:in
`run'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/command.rb:211:in
`run'
        from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/bin/mongrel_rails:234
        from /usr/bin/mongrel_rails:18

Where mongrel.conf has:
uri "/", :handler => plugin("handlers/myplugin"), :in_front => true

On 10/16/06, Rick Olson <technoweenie at gmail.com> wrote:
> You could probably write a mongrel handler to cuddle with the params.


More information about the Mongrel-users mailing list