I would like to make 2 sites for different users using different python environments installed using virtualenv. That is, the user USER1 has a SITE1 site, USER2 has a SITE2. Each user has his own python environment installed through virtualenv, the user does not have access to the foreign environment.

When you try to create 2 VirtualHost'ov, of course, one of WSGIPythonHomes overlaps, as they are set a higher level.

In general, the question is: is there any way to use apache with wsgi for different users, each of which has its own python environment?

    1 answer 1

    It seems that the problem is not solved in the usual ways. As an option - use nginx + uwsgi.

    Resolved: switched to nginx + uwsgi, everyone is happy.