summaryrefslogtreecommitdiffstats
path: root/files/lists-dev/hyperkitty.apache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'files/lists-dev/hyperkitty.apache.conf')
-rw-r--r--files/lists-dev/hyperkitty.apache.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/files/lists-dev/hyperkitty.apache.conf b/files/lists-dev/hyperkitty.apache.conf
new file mode 100644
index 000000000..5773918fb
--- /dev/null
+++ b/files/lists-dev/hyperkitty.apache.conf
@@ -0,0 +1,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>