In a project I am working on, Apache is set up to only forward requests that come in as /prefix/* to mongrel. How can I tell ruby on rails to generate all URLs with that prefix?
I have the routes set up for forward to the correct controller action by doing this:
map.connect 'sfc/:controller/:action'
but that doesn't seem to affect the way that the url writer generates the URLs.
Any ideas?