K
K
kAIST2019-12-02 18:55:32
Apache HTTP Server
kAIST, 2019-12-02 18:55:32

How to start translating projects to python 3 with mod_wsgi?

About 20 of their own and not very projects are spinning on VDS. All are written in python 2 (apache + mod_wsgi).
I want to start slowly porting projects to python 3, and not all at once - some old ones that do not need to be updated may remain on python2.
How to run one site on python2 and another on python3 within one apache server with mod_wsgi?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2019-12-02
@bacon

apache + mod_wsgi, also a so-so bundle. Therefore, I would raise nginx + uWSGI or gunicorn for python3 (depending on what you like more), and proxy the old ones with the same nginx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question