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'


But apache says "ERROR:  module wsgi does not exist!"  when I try to enable 
it.  (I dont get it because with the earlier command it outputted the 
location of the installed module) :

sudo a2enmod wsgi

-- 
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.

Reply via email to