How to enable WSGI support on a RHEL or CentOS

  1. Install wsgi apache module
yum install mod_wsgi
  1. Download wsgi template
cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/wsgi/httpd.tar.gz
tar -xzvf httpd.tar.gz
rm -f httpd.tar.gz
  1. Create new package or set wsgi as apache template in the existing package
  2. Add new user and assing him package with wsgi template
  3. Add new domain and check the result