diff options
| author | 0livd <0livd@users.noreply.github.com> | 2017-06-18 00:00:42 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-06-18 00:00:42 +0200 |
| commit | d0178ec6b6344f88757536129ef56aa160ea1f03 (patch) | |
| tree | 4c7fdd42d41b9f4a8970793fb1ae8bc41cb91092 /conf/apache-vhost.conf | |
| parent | 32f2339c478d9f1f756780ddf7d7d188cc0e5f67 (diff) | |
| download | ihatemoney-mirror-d0178ec6b6344f88757536129ef56aa160ea1f03.zip ihatemoney-mirror-d0178ec6b6344f88757536129ef56aa160ea1f03.tar.gz ihatemoney-mirror-d0178ec6b6344f88757536129ef56aa160ea1f03.tar.bz2 | |
Tell Apache to add the budget directory to the python path (#215)
The path no longer needs to be modified in the .wsgi file
Diffstat (limited to 'conf/apache-vhost.conf')
| -rw-r--r-- | conf/apache-vhost.conf | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
