Permalink
Browse files

Add a sample WGSI script to load WOMBAT via mod_wsgi

  • Loading branch information...
1 parent 0ddaa75 commit a95f99edefa68ac75af76d1b56f3db7dcc6d2905 @kblin kblin committed Jul 19, 2008
Showing with 10 additions and 0 deletions.
  1. +10 −0 wombat.wsgi
View
@@ -0,0 +1,10 @@
+import site
+site.addsitedir('/home/wombat/lib/python2.4/site-packages')
+import os, sys
+sys.path.append('/home/wombat/wsgi/wombat')
+os.environ['PYTHON_EGG_CACHE'] = '/tmp/python-eggs'
+
+from paste.deploy import loadapp
+
+application = loadapp('config:/home/wombat/wsgi/wombat.ini')
+

0 comments on commit a95f99e

Please sign in to comment.