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

apache, apache template, Debian, Download, Download wsgi template, install, Install wsgi apache module, module, Ubuntu, wsgi, WSGI support, wsgi template, How to enable WSGI support on a Debian or Ubuntu on Vesta Control Panel, Hostripples Web Hosting

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 the result


How to enable WSGI support on a Debian or Ubuntu on Vesta Control Panel, Hostripples Web Hosting

Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.