Permalink
Browse files

Put the WSGI script in its own directory. The mod_wsgi people recomme…

…nd this for security reasons. Also, leave the path blank, since it will vary depending on where the code is located
  • Loading branch information...
1 parent dcfeb1d commit 85c19bc742758b86d02894e0227197f4c4709113 @joshhansen joshhansen committed Mar 2, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 { → wsgi}/topicalguide.wsgi
@@ -1,7 +1,8 @@
import os
import sys
-path = '/home/www/topicalguide'
+#Prior to deployment, set path
+path = ''
if path not in sys.path:
sys.path.append(path)

0 comments on commit 85c19bc

Please sign in to comment.