I have this error:
Invalid command 'uWSGISocket', perhaps misspelled or defined by a
module not included in the server configuration
ServerAdmin your@email.com
ServerName voorloopnul.com
ServerAlias www.voorloopnul.com
DocumentRoot /var/www
Options FollowSymLinks Indexes
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Options FollowSymLinks Indexes
SetHandler uwsgi-handler
uWSGISocket 127.0.0.1:3031
SetHandler none
Alias /static //srv/apps/voorloopnul/voorloopnul/static/
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/voorloopnul.com.access.log combined
Full tutorial: http://voorloopnul.com/blog/setting-up-django-with-apache-and-uwsgi-ubuntu-12-10/
Answer
It seems that you forgot to enable module libapache2-mod-uwsgi with a2enmod
No comments:
Post a Comment