[z3-checkins] r10648 - z3/modzope/trunk/demosite
philikon at codespeak.net
philikon at codespeak.net
Fri Apr 15 00:49:20 MEST 2005
Author: philikon
Date: Fri Apr 15 00:49:20 2005
New Revision: 10648
Added:
z3/modzope/trunk/demosite/modzope.conf
Modified:
z3/modzope/trunk/demosite/apache2.conf
Log:
Configure the new handler and get rid of some no longer used configuration
option; we now use a separate ZConfig file in which we specify all ZODB-
related things. We can actually use (and do use) ZEO to connect to a
ZODB instance...
Modified: z3/modzope/trunk/demosite/apache2.conf
==============================================================================
--- z3/modzope/trunk/demosite/apache2.conf (original)
+++ z3/modzope/trunk/demosite/apache2.conf Fri Apr 15 00:49:20 2005
@@ -62,7 +62,7 @@
# Default: None
#
# Example:
- PythonHandler modzope.mod_python.handlers
+ PythonHandler modzope.wsgizope
# Directive: PythonTypeHandler
#
@@ -93,38 +93,5 @@
# modzope can be configured using a couple of options set using the
# PythonOption directive.
-# Option: sitepath
-#
-# Description:
-# Specifies the path to the modzope site. A site includes a site
-# configuration file (typically site.zcml), bootstrap principal
-# definitions (typically principals.zcml) and the ZODB database
-# file (typically Data.fs).
-#
-# Make sure the directory you specify here is readable to the user
-# Apache2 is running as.
-#
-# Default: the directory Apache2 was started from
-#
-# Example:
- PythonOption sitepath /Users/philipp/dev/Zope3/modzope-demosite
-
-# Option: dbfile
-#
-# Description:
-# Specifies the full absolute path to the ZODB database file.
-#
-# Default: $sitepath/Data.fs
-#
-# Example:
-# PythonOption dbfile /home/zope/modzope/demosite/Data.fs
-
-# Option: siteconfig
-#
-# Description:
-# Specifies the full absolute path to the site configuration file.
-#
-# Default: $sitepath/site.zcml
-#
-# Example:
-# PythonOption siteconfig /home/zope/modzope/demosite/site.zcml
+#XXX
+PythonOption modzope.config /Users/philipp/dev/Zope3/modzope-demosite/modzope.conf
Added: z3/modzope/trunk/demosite/modzope.conf
==============================================================================
--- (empty file)
+++ z3/modzope/trunk/demosite/modzope.conf Fri Apr 15 00:49:20 2005
@@ -0,0 +1,16 @@
+# Example Zope instance configuration file
+
+# identify the component configuration used to define the site:
+site-definition /Users/philipp/dev/Zope3/site.zcml
+#site-definition site.zcml
+
+<zodb>
+ <zeoclient>
+ server localhost:9999
+ storage 1
+ # ZEO client cache, in bytes
+ cache-size 20MB
+ # Uncomment to have a persistent disk cache
+ #client zeo1
+ </zeoclient>
+</zodb>
More information about the z3-checkins
mailing list