That is to say, let's say I'm writing something that's hosted on foo.com
. I'd like it to be possible for a user who goes to foo.com/bar.com
to be served up bar.com
from foo.com
and to be able to interact with bar.com
(e.g. navigate to foo.com/bar.com/baz
via point-and-click). I understand that this is what a proxy is supposed to do. I need to do some preprocessing of a request to access the proxy, which is why I'm turning to a web framework. I've a preference for django, rails, or sinatra, or another python/ruby solution, but any will do, really.
Thanks in advance; alternate suggestions are welcome.