Hello Graham,

I managed to get this working outside of an entry in httpd.conf but I'd 
like to figure out what is stopping me from using it. We do redirect all 
http to https.

1) What I did to make it work was create a file  
/var/www/flask/upload_pictures.wsgi containing:
sys.path.insert(0, '/home/students/student-a/public_html')
from upload_pictures import app as application
application.root_path = '/home/students/student-a/public_html'

2) I run this command:
mod_wsgi-express-3 setup-server upload_pictures.wsgi --port=8987 --user 
student-a --group students

3) this outputs:
Control Script     : /tmp/mod_wsgi-localhost:8987:0/apachectl

4) Then I run: 
  /tmp/mod_wsgi-localhost:8987:0/apachectl  start 

But this won't start up automatically if/when the server reboots. Any other 
debugging tips? Thanks for your replies.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/04d68b95-de14-41d3-9f20-3434423ae429%40googlegroups.com.

Reply via email to