--- a/SEESenv/web/hgbook/run.wsgi~ Sun Feb 21 23:03:28 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi~ Sun Feb 21 23:32:34 2010 +0530
@@ -37,9 +37,16 @@
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/')
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments')
os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
+import hgbook
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
+_application = django.core.handlers.wsgi.WSGIHandler()
+#print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
+def application(environ, start_response):
+ print >> sys.stderr ,environ['PATH_INFO']
+
+ return _application(environ, start_response)