Hi,

I'm a bit stumped as to how to use Mongrel::RedirectHandler

I've got a config script in my rails lib directory call assets.rb

assets.rb contains:

uri "/assets", :handler =>
Mongrel::RedirectHandler.new("/path/to/redirect/to"), :in_front => true

How to I get this to redirect assets/foo.jpg to
/assets/subdirectory/foo.jpg. HOw do I access the request parameters?

Regards

Adam Groves
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to