Prepend string to output URLs


Is it possible to prepend a string to all output URLs? I am looking for
something like the relative_url_root that only does it job when
the resulting html and not when analysing the request.
(If some developer wants more information on why I want this do not
to mail me, I think I found a problem with a specific Rails setup.)