How to enable WSGI support on a Debian or Ubuntu on Vesta Control Panel

1. Install wsgi apache module apt-get install libapache2-mod-wsgi a2enmod wsgi 2. Download wsgi template cd /usr/local/vesta/data/templates/web wget http://c.vestacp.com/0.9.8/ubuntu/wsgi/apache2.tar.gz tar -xzvf apache2.tar.gz rm -f apache2.tar.gz 3. Create new package or set wsgi as apache template in the existing package 4. Add new user and assing him package with wsgi template 5. Add new domain and check […]

How to enable WSGI support on a RHEL or CentOS on Vesta Control Panel

1. Install wsgi apache module yum install mod_wsgi 2. 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 3. Create new package or set wsgi as apache template in the existing package 4. Add new user and assing him package with wsgi template 5. Add new domain and check the result

Vesta Control Panel Template Description

Apache default – no additional settings, works well for most sites basedir – to fight against phpshells using openbasedir directive hosting – separate php limits for each domain (php_admin_value   memory/safemode/etc) phpcgi – template to run php as cgi. can be useful to run php4 or php5.2 phpfcgid – to php as fcgi (automatically installed on a […]