Python/Django mirror or proxy app
I need to setup a mirror/proxy site using Django/Python. What I need to do
I have a site say abc.com.
If I go to abc.com/stackoverflow.com, I want开发者_如何学JAVA all content to be served from my server at abc.com. This includes all JS, CSS and images.
So I want a django mirror/proxy app, which takes a url, rewrites the html, pulls the htmls and content and servers it from a local mirror.
[Edit]
I prefer a Django app, but a non-Django python app would be good as well.You want a vhost setup. You have to connect multiple domain names so that they are served by the same web server. That is accomplished by pointing the domains to the same server and setting up vhosting there. Django, or other software that serves the pages aren't directly involved in it.
精彩评论