File: apache.conf

package info (click to toggle)
hyperkitty 1.3.12-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,116 kB
  • sloc: javascript: 38,879; python: 12,087; makefile: 157; sh: 5
file content (23 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (5)
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>