Monday, August 28, 2017

Re: Deploy production django applications with Python2.7 and Python3.5 on same Apache web server

Hi,

I found this information that could be handy for setting up with multiple environments and mod_wsgi. 


I don't think you really need to use a different setup, just some configuration in your httpd.conf file.

Otherwise you could also use uwsgi - which can handle that sort of thing easily.

Regards,

Andréas

2017-08-28 13:20 GMT+02:00 BIJAL MANIAR <bijalcm@gmail.com>:

Hi,

I have existing setup of django app within virtual env (Python 2.7, Django 1.11), running on Apache2.2 on production environment.
On the same server, I want to setup one more django app within virtual env (Python 3.5, Django 1.11).
How can we have two django apps with two different versions of Python running on same Apache server?

Found an alternative mod_wsgi-express. Below is the link
Is it suitable for production environments and has a good community support? Does it have any limitation?

Please let me know if there are any other ways to achieve this.

Any help would be appreciated.

Thanks,
Bijal

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fadfffe1-4597-4e56-9f45-2fe1dcd59c55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCcu5uPrm3B%2Bmo76fZ4v7zDK_raOoYzetfVkR-gA_dFiNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment