# HG changeset patch # User Bernhard Herzog # Date 1424889381 -3600 # Node ID bd3e5fdd839808907987993e960e7f68810ec951 # Parent b7e4f50c75ba99f6751e6b3fd04ab0318d9affa0 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. diff -r b7e4f50c75ba -r bd3e5fdd8398 apache-site.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apache-site.conf Wed Feb 25 19:36:21 2015 +0100 @@ -0,0 +1,10 @@ + + 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 +