From f46b77083bfd2543b39e77df68eaeff06799aef8 Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Sat, 7 Jul 2012 17:33:54 -0400 Subject: production server deployment using apache wsgi module --- apache/apache_django_wsgi.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 apache/apache_django_wsgi.conf (limited to 'apache/apache_django_wsgi.conf') 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 @@ + + + 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 + + + Order deny,allow + Allow from all + + + + Order allow,deny + Allow from all + + + -- cgit