I am trying to run to run django and flask on the same apache server.
WSGISocketPrefix /var/www/wsgi
ServerAdmin name@email.
For anyone who want to achieve the same in 2018 this really helped me:
https://www.phusionpassenger.com/library/deploy/apache/deploy/python/
I know it is off topic, but I found this question like 20 searches before I found the link to the Description from Passenger....
How ev's here is an excert from the tutorial:
ServerName www.phusion.nl
DocumentRoot /websites/phusion/public
Allow from all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted
Alias /subapp /websites/secondapp/public
PassengerBaseURI /subapp
PassengerAppRoot /websites/secondapp
PassengerAppType wsgi
PassengerStartupFile passenger_wsgi.py
Allow from all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted