mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
16 lines
710 B
Text
16 lines
710 B
Text
<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-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
|
|
<Directory /path/to/ihatemoney>
|
|
WSGIProcessGroup ihatemoney
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
Alias /static/ /path/to/ihatemoney/budget/static/
|
|
</VirtualHost>
|