-
Notifications
You must be signed in to change notification settings - Fork 15
Hosting with Apache
davidbrownza edited this page Dec 15, 2014
·
3 revisions
To host a Django application using Apache, you must first install the mod_wsgi Apache module. On Ubuntu, you can install this as follows:
sudo apt-get install libapache2-mod-wsgi
You can then find an example VirtualHost file located at bin/00-jms
. Copy this file to /etc/apache2/sites-available/
and enable it by running (on Ubuntu):
sudo a2ensite 00-jms
sudo service apache2 restart
If you have installed the JMS at the recommended location i.e. /srv/JMS
, you will only need to change the NameVirtualHost directive. If you have installed the JMS at a different location, you will need to go through the file and change the paths.