Hello there, sure it can also be done, but it's hardly worth the effort imho. Just let these sit on two different ports and inform the client.
If you are still compelled to redirect requests based on origin while using one external port, it's doable from inside Django as well -- you look at the requestor IP, rehash the URL and forward request to same physical Apache, but on a different port. Doesn't seem difficult either. Steve Holden-4 wrote: > > If you want the different hosts to all respond to the same IP address > and port 80, being selected by the Host: header coming on from the > clients then you will have to front-end them with a redirecting server, > in much the way that Web Faction do. It's quite possible, but it needs a > little more work to put that extra layer in. > > regards > Steve > -- > -- View this message in context: http://old.nabble.com/Different-Django-instances-running-on-the-same-server-tp29420477p29431251.html Sent from the django-users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.