annotate 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
rev   line source
79
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
1 <VirtualHost localhost:5000>
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
2 ServerAdmin webmaster@localhost
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
3
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
4 WSGIDaemonProcess odfcast processes=2 threads=30 python-path=/home/mpuls/odfcast/releases/current:/home/mpuls/odfcast/env/lib/python2.7/site-packages
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
5 WSGIProcessGroup odfcast
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
6
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
7 WSGIScriptAlias / /home/mpuls/odfcast/releases/current/odfcast.wsgi
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
8
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
9 ErrorLog /var/log/apache2/odfcast-error.log
bd3e5fdd8398 Add apache site configuraton file for odfcase as wsgi application.
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10 </VirtualHost>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)