view apache-site.conf @ 79:bd3e5fdd8398 1.0

Add apache site configuraton file for odfcase as wsgi application. Put the file apache-site.conf into /etc/apache2/sites-available/. It assumes that odfcast is installed as /home/mpuls/odfcast/releases/current and that there's a python environment with its site-packages in /home/mpuls/odfcast/env/lib/python2.7/site-packages. This is the setup used on the mpuls staging servers.
author Bernhard Herzog <bh@intevation.de>
date Wed, 25 Feb 2015 19:36:21 +0100
parents
children bb2b32455a6b
line wrap: on
line source
<VirtualHost localhost:5000>
        ServerAdmin webmaster@localhost

        WSGIDaemonProcess odfcast processes=2 threads=30 python-path=/home/mpuls/odfcast/releases/current:/home/mpuls/odfcast/env/lib/python2.7/site-packages
        WSGIProcessGroup odfcast

        WSGIScriptAlias / /home/mpuls/odfcast/releases/current/odfcast.wsgi

        ErrorLog /var/log/apache2/odfcast-error.log
</VirtualHost>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)