Mercurial > odfcast
comparison 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 |
comparison
equal
deleted
inserted
replaced
78:b7e4f50c75ba | 79:bd3e5fdd8398 |
---|---|
1 <VirtualHost localhost:5000> | |
2 ServerAdmin webmaster@localhost | |
3 | |
4 WSGIDaemonProcess odfcast processes=2 threads=30 python-path=/home/mpuls/odfcast/releases/current:/home/mpuls/odfcast/env/lib/python2.7/site-packages | |
5 WSGIProcessGroup odfcast | |
6 | |
7 WSGIScriptAlias / /home/mpuls/odfcast/releases/current/odfcast.wsgi | |
8 | |
9 ErrorLog /var/log/apache2/odfcast-error.log | |
10 </VirtualHost> |