[Repoze-checkins] r624 - www/trunk/kiss.repoze.org/content

Chris McDonough chrism at agendaless.com
Thu Jan 3 03:09:05 UTC 2008


Author: Chris McDonough <chrism at agendaless.com>
Date: Wed Jan  2 22:09:04 2008
New Revision: 624

Log:
Update to mod_wsgi 2.X syntax.


Modified:
   www/trunk/kiss.repoze.org/content/deployment.stx

Modified: www/trunk/kiss.repoze.org/content/deployment.stx
==============================================================================
--- www/trunk/kiss.repoze.org/content/deployment.stx	(original)
+++ www/trunk/kiss.repoze.org/content/deployment.stx	Wed Jan  2 22:09:04 2008
@@ -10,21 +10,16 @@
     "Repoze in Deployment architecture diagram":img:repoze-deployment.jpg 
     
     After such changes, the repoze application environment directory may
-    be deployed to an Apache / 'mod_wsgi' environment with an Apache
+    be deployed to an Apache / 'mod_wsgi' 2.X environment with an Apache
     configuration like this::
 
-      WSGIPythonExecutable ${sandbox}/bin/python
-      WSGIDaemonProcess thegroup threads=1 processes=4 maximum-requests=10000
-
-      <Directory ${sandbox}/bin>
-        Order deny,allow
-        Allow from all
-      </Directory>
+      WSGIPythonHome ${sandbox}
+      WSGIDaemonProcess tmp threads=1 processes=4 maximum-requests=10000 python-path=${sandbox}/lib/python2.4/site-packages
 
       <VirtualHost *:80>
         ServerName my.machine.local
         WSGIScriptAlias /site ${sandbox}/bin/zope2.wsgi
-        WSGIProcessGroup thegroup
+        WSGIProcessGroup tmp
         WSGIPassAuthorization On
         SetEnv HTTP_X_VHM_HOST http://my.machine.local/site
         SetEnv PASTE_CONFIG ${sandbox}/etc/zope2.ini


More information about the Repoze-checkins mailing list