URL generation

How do I prepend all url’s in my application with a specific string so
instead of generating URL’s of the form /:controller/:action/:id I would
get /myString/:controller/:action/:id?

I know I can use routes.rb and url_for() to accomplish a similar task on
an individual controller basis but I don’t see a way to easily prepend
all urls with a string.

Thanks,

John