I am trying to setup 'apache + uWSGI' on centos. But I am getting the following error:
Invalid command 'uWSGISocket', perhaps misspelled..
For that I found a solution that I need a package called:
libapache2-mod-uwsgi
But on centos that package is not available. Now I am confused whether 'apache + uWSGI' can be configured on centos? following is my virtualhost config:
LoadModule wsgi_module modules/mod_wsgi.so WSGISocketPrefix /var/run/wsgi
ServerName www.example.com ServerAlias example.com DocumentRoot /usr/src/example/templates <Location /> SetHandler uwsgi-handler uWSGISocket 127.0.0.1:3031 </Location> <Directory /usr/src/example/templates> Order allow,deny Allow from all </Directory>
Please help