質問

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 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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top