summaryrefslogtreecommitdiffstats
path: root/files/lists-dev/hyperkitty.apache.conf
blob: 5773918fbfdd4ca2344a9bfbf06b26bbb01562bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#Alias /robots.txt  /etc/hyperkitty/sites/default/static/robots.txt
#Alias /favicon.ico /etc/hyperkitty/sites/default/static/favicon.ico
Alias /hyperkitty/static      /var/lib/hyperkitty/sites/default/static

#ErrorLog /var/log/httpd/hyperkitty_error.log
#CustomLog /var/log/httpd/hyperkitty_access.log combined

WSGIScriptAlias /hyperkitty /etc/hyperkitty/sites/default/wsgi.py
WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default
# If using VirtualEnv
#WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default:/path/to/your/venv/lib/python2.X/site-packages
WSGISocketPrefix run/wsgi

<Directory "/etc/hyperkitty/sites/default">
    <Files wsgi.py>
        Order deny,allow
        Allow from all
        Require all granted
    </Files>
    WSGIProcessGroup hyperkitty
</Directory>

<Directory "/var/lib/hyperkitty/sites/default/static">
    Order deny,allow
    Allow from all
    Require all granted
</Directory>