Ok this is not working, I found a snippet to add to .wsgi file that flask
docs said to add for virtualenvs which is good, all my conf files are now
setup properly:
/var/www/site1/FlaskApp/
flaskapp.wsgi :
activate_venv = '/var/www/site1/FlaskApp/FlaskApp/venv/bin/activate'
execfile(activate_venv, dict(__file__=activate_venv))
import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0,"/var/www/site1/FlaskApp/")
from FlaskApp import app as application
application.secret_key = 'a7j3sk29dk6gh4n69x0n70nn81mps'
EDIT: my bad, had to create wsgi.load file then enable it. sudo a2enmod
wsgi . Now all my conf files are set up right I think. Still get 500
error though. No apache logs are created. weird.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.