1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Alias /favicon.ico /path/to/project/static/hyperkitty/favicon.ico
Alias /static /path/to/project/static
ErrorLog /var/log/httpd/hyperkitty_error.log
CustomLog /var/log/httpd/hyperkitty_access.log combined
WSGIScriptAlias /hyperkitty /path/to/project/wsgi.py
WSGIDaemonProcess hyperkitty threads=25 python-path=/path/to/project
# If using VirtualEnv
#WSGIDaemonProcess hyperkitty threads=25 python-path=/path/to/project:/path/to/your/venv/lib/python2.X/site-packages
<Directory "/path/to/project">
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
WSGIProcessGroup hyperkitty
</Directory>
<Directory "/path/to/project/static">
Order deny,allow
Allow from all
</Directory>
|