changeset 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 b7e4f50c75ba
children ae2f4e1c4ab0
files apache-site.conf
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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 @@
+<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)