Permalink
Browse files

commiting django conf

adding the wsgi configs
  • Loading branch information...
1 parent e10641b commit 13f553cf7005e429cb08b8eca89c22f6192d2b6d @claytantor claytantor committed Feb 4, 2013
@@ -0,0 +1,30 @@
+<VirtualHost *:80>
+ServerName grailo.com
+Alias /robots.txt /home/bitnami/github/510eat/fiveoneoheat/static/txt/robots.txt
+Alias /favicon.ico /home/bitnami/github/510eat/fiveoneoheat/static/img/fiveoneoheat-icon.ico
+
+AliasMatch ^/([^/]*\.css) /home/bitnami/github/510eat/fiveoneoheat/static/$1
+
+Alias /static/ /home/bitnami/github/510eat/fiveoneoheat/static/
+
+<Directory /home/bitnami/github/510eat/fiveoneoheat/static/>
+Order deny,allow
+Allow from all
+</Directory>
+
+<Directory '/opt/bitnami/apps/django/lib/python2.7/site-packages/django/contrib'>
+Order allow,deny
+Allow from all
+</Directory>
+
+WSGIScriptAlias / "/home/bitnami/github/510eat/fiveoneoheat/conf/fooe.wsgi"
+
+#RewriteEngine on
+#RewriteCond %{HTTP_HOST} ^510eat\.org$ [NC]
+#RewriteRule ^/(.*)$ http://510eat.org/$1 [L,R=301]
+
+<Directory '/home/bitnami/github/510eat/fiveoneoheat/conf'>
+Order allow,deny
+Allow from all
+</Directory>
+</VirtualHost>
@@ -0,0 +1,10 @@
+import os, sys
+sys.path.append('/home/bitnami/github')
+sys.path.append('/home/bitnami/github/510eat/')
+sys.path.append('/home/bitnami/github/510eat/fiveoneoheat')
+sys.path.append('/home/bitnami/github/510eat/fiveoneoheat/fiveoneoheat')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'fiveoneoheat.settings'
+
+import django.core.handlers.wsgi
+
+application = django.core.handlers.wsgi.WSGIHandler()
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow:

0 comments on commit 13f553c

Please sign in to comment.