summaryrefslogtreecommitdiffstats
path: root/hyperkitty/apache/apache_django_wsgi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/apache/apache_django_wsgi.conf')
-rw-r--r--hyperkitty/apache/apache_django_wsgi.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/hyperkitty/apache/apache_django_wsgi.conf b/hyperkitty/apache/apache_django_wsgi.conf
new file mode 100644
index 0000000..7f1ccaf
--- /dev/null
+++ b/hyperkitty/apache/apache_django_wsgi.conf
@@ -0,0 +1,23 @@
+<VirtualHost *:80>
+
+ Alias /robots.txt /home/akhan/gsoc/robots.txt
+ Alias /favicon.ico /home/akhan/gsoc/favicon.ico
+ Alias /static /home/akhan/gsoc/static
+
+ ErrorLog /home/akhan/gsoc/logs/error.log
+ CustomLog /home/akhan/gsoc/logs/access.log combined
+
+ WSGIScriptAlias / /home/akhan/gsoc/apache/django.wsgi
+ WSGIDaemonProcess akhan user=akhan group=users threads=25
+
+ <Directory "/home/akhan/gsoc/apache">
+ Order deny,allow
+ Allow from all
+ </Directory>
+
+ <Directory "/home/akhan/gsoc">
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+</VirtualHost>