forked from hyperkitty/hyperkitty_standalone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhyperkitty.apache.conf
24 lines (20 loc) · 900 Bytes
/
hyperkitty.apache.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Alias /robots.txt /path/to/hyperkitty_standalone/static/hyperkitty/robots.txt
Alias /favicon.ico /path/to/hyperkitty_standalone/static/hyperkitty/favicon.ico
Alias /static /path/to/hyperkitty_standalone/static
ErrorLog /var/log/httpd/hyperkitty_error.log
CustomLog /var/log/httpd/hyperkitty_access.log combined
WSGIScriptAlias /hyperkitty /path/to/hyperkitty_standalone/wsgi.py
WSGIDaemonProcess hyperkitty threads=25 python-path=/path/to/hyperkitty_standalone
# If using VirtualEnv
#WSGIDaemonProcess hyperkitty threads=25 python-path=/path/to/hyperkitty_standalone:/path/to/your/venv/lib/python2.X/site-packages
<Directory "/path/to/hyperkitty_standalone">
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
WSGIProcessGroup hyperkitty
</Directory>
<Directory "/path/to/hyperkitty_standalone/static">
Order deny,allow
Allow from all
</Directory>