[Zope-Checkins] SVN: Zope/branches/tseaver-fix_wsgi/ Branch for fixing WSGI publisher.

Tres Seaver tseaver at palladion.com
Mon Dec 21 13:34:52 EST 2009


Log message for revision 106827:
  Branch for fixing WSGI publisher.

Changed:
  A   Zope/branches/tseaver-fix_wsgi/
  A   Zope/branches/tseaver-fix_wsgi/src/Zope2/utilities/skel/bin/zope2.wsgi.in

-=-
Added: Zope/branches/tseaver-fix_wsgi/src/Zope2/utilities/skel/bin/zope2.wsgi.in
===================================================================
--- Zope/branches/tseaver-fix_wsgi/src/Zope2/utilities/skel/bin/zope2.wsgi.in	                        (rev 0)
+++ Zope/branches/tseaver-fix_wsgi/src/Zope2/utilities/skel/bin/zope2.wsgi.in	2009-12-21 18:34:51 UTC (rev 106827)
@@ -0,0 +1,6 @@
+from Zope2.Startup.run import configure
+from Zope2 import startup
+configure('<<INSTANCE_HOME>>/etc/zope.conf')
+startup()
+# mod_wsgi looks for the special name 'application'.
+from ZPublisher.WSGIPublisher import publish_module as application



More information about the Zope-Checkins mailing list