summaryrefslogtreecommitdiffstats
path: root/apache/apache_django_wsgi.conf
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-07-07 17:33:54 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-07-07 17:33:54 -0400
commitf46b77083bfd2543b39e77df68eaeff06799aef8 (patch)
tree1adef72197a3456094f6829b3f7b2b2b109a34dc /apache/apache_django_wsgi.conf
parent5f0e0a0ca25770784c47f1036bf972bd29a14789 (diff)
downloadhyperkitty-f46b77083bfd2543b39e77df68eaeff06799aef8.tar.gz
hyperkitty-f46b77083bfd2543b39e77df68eaeff06799aef8.tar.xz
hyperkitty-f46b77083bfd2543b39e77df68eaeff06799aef8.zip
production server deployment using apache wsgi module
Diffstat (limited to 'apache/apache_django_wsgi.conf')
-rw-r--r--apache/apache_django_wsgi.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/apache/apache_django_wsgi.conf b/apache/apache_django_wsgi.conf
new file mode 100644
index 0000000..7f1ccaf
--- /dev/null
+++ b/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>