On 8/13/2010 1:09 PM, buddhasystem wrote:
> CLIFFORD ILKAY wrote:
>>
>> On 08/12/2010 12:18 PM, Rick Caudill wrote:
>>> Hi,
>>>
>>> Is it possible to run Django 1.1 and Django 1.2 on the same server?  I
>>> have some legacy apps that I need to port to 1.2 but until then I would
>>> still like to run 1.1 and also at the same time run 1.2 for some new
>>> apps.  Is this possible????
>>
>> If you Google for pip + virtualenv + virtualenvwrapper, you'll find the 
>> best way to do this. In short, you can create virtual Python 
>> environments in which you can run not just different versions of Django, 
>> or any other Python libraries, but even different versions of Python.
>>
>> virtualenvwrapper.project is also quite worthwhile.

>
> I think it's even simpler than this. When configuring your Apache, you
> specify a few different virtual hosts listening on different ports.
For each
> host, you give a different PYTHONPAH. And that's it.
>
>
>
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
-- 
DjangoCon US 2010 September 7-9 http://djangocon.us/

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

Reply via email to