Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top