From d0178ec6b6344f88757536129ef56aa160ea1f03 Mon Sep 17 00:00:00 2001 From: 0livd <0livd@users.noreply.github.com> Date: Sun, 18 Jun 2017 00:00:42 +0200 Subject: Tell Apache to add the budget directory to the python path (#215) The path no longer needs to be modified in the .wsgi file --- conf/apache-vhost.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf index 4b9dad0..6c05058 100644 --- a/conf/apache-vhost.conf +++ b/conf/apache-vhost.conf @@ -2,7 +2,7 @@ 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 + WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path=/path/to/ihatemoney/budget # 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 -- cgit v1.1