Version of mod-wsgi to use with django stack on python 2.7

127 Views Asked by At

With Apt package manager libapache2-mod-wsgi can be easily installed which is giving mod_wsgi-3.3.

But I have seen at https://modwsgi.readthedocs.org/en/master/

Due to security issues in versions of mod_wsgi up to and including version 3.4, it is recommended that version 3.5 or later be used.

So what is most suitable version of mod_wsgi to use with django stack running on python 2.7

1

There are 1 best solutions below

3
On BEST ANSWER

Django will work with any version of Apache which supports mod_wsgi.

However, you will most likely want to build mod_wsgi from source using the same python you are using to run django.