I am running a flask application with apache using mod_wsgi. I was having
trouble reloading the application after making a change to the python code
so I read through the mod_wsgi wiki
<https://code.google.com/p/modwsgi/wiki/ReloadingSourceCode> on reloading
source code. I ran the script to confirm that I am running in Daemon mode,
and my .conf VirtualHost is setup as follows:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName dev.succor.co
DocumentRoot /var/www/study_buddy_dev/study_buddy
WSGIScriptAlias / /var/www/study_buddy_dev/study_buddy/app.wsgi
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel info
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/study_buddy_dev/study_buddy/>
AuthType Basic
AuthName "Authentication Required"
AuthUserFile "/etc/htpasswd/.htpasswd"
Require valid-user
WSGIScriptReloading On
Order deny,allow
Allow from all
</Directory>
WSGIDaemonProcess succor.dev processes=2 threads=15
display-name=%{GROUP}
WSGIProcessGroup succor.dev
</VirtualHost>
But when I run ~$ sudo touch app.wsgi nothing changes in my application and
I am completely at a loss as to why. Can anyone shed some light on what I
am doing wrong here?
--
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 http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.