Is FlaskApp.conf symlinked into sites-enabled directory? If it isn't then it will not even be used.
> WSGIPythonHome "/usr" Are you not using a Python virtual environment? Also good practice to use mod_wsgi daemon mode. > 3) FlaskApp.conf > cat /etc/apache2/sites-available/FlaskApp.conf > <VirtualHost *:83> > ServerName flaskapp.com <http://flaskapp.com/> > ServerAdmin [email protected] <mailto:[email protected]> > WSGIScriptAlias / /var/www/FlaskApp/flaskapp.wsgi > <Directory /var/www/FlaskApp/FlaskApp/> This directory path is wrong. Should be: <Directory /var/www/FlaskApp/> > Order allow,deny > Allow from all For Apache 2.4 you should be using: Require all granted > </Directory> > ErrorLog ${APACHE_LOG_DIR}/error.log No point setting this here if not setting it different to main Apache error log. > LogLevel warn Set this to: LogLevel info That way mod_wsgi will log details about when it loads scripts and you will know if request is actually making it to mod_wsgi. So fix above things, ensuring your site is enabled and do curl again. What appears in the error log from when the request is made? Does it show mod_wsgi loading your script? Graham -- 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.
