aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/apache-vhost.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf
new file mode 100644
index 0000000..4b9dad0
--- /dev/null
+++ b/conf/apache-vhost.conf
@@ -0,0 +1,16 @@
+<VirtualHost *:80>
+ ServerAdmin admin@example.com
+ ServerName ihatemoney.example.com
+ # Uncomment the python-home option if you use a virtualenv
+ WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 # python-home=/path/to/your/venv
+ WSGIScriptAlias / /path/to/ihatemoney/ihatemoney.wsgi
+ ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
+ CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
+<Directory /path/to/ihatemoney>
+ WSGIProcessGroup ihatemoney
+ WSGIApplicationGroup %{GLOBAL}
+ Order deny,allow
+ Allow from all
+</Directory>
+Alias /static/ /path/to/ihatemoney/budget/static/
+</VirtualHost>