added some comments. added memcache as the default session handler
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 28 Dec 2007 15:37:30 +0000 (15:37 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 28 Dec 2007 15:37:30 +0000 (15:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8282 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/development.ini

index e108298..c74a48f 100644 (file)
@@ -1,4 +1,4 @@
-#
+
 # oilsweb - Pylons development environment configuration
 #
 # The %(here)s variable will be replaced with the parent directory of this file
@@ -12,8 +12,8 @@ error_email_from = paste@localhost
 
 [server:main]
 use = egg:Paste#http
-host = 0.0.0.0
-#host = 216.154.195.227
+#host = 0.0.0.0
+host = 216.154.195.227
 port = 5000
 
 [app:main]
@@ -22,36 +22,44 @@ full_stack = true
 cache_dir = %(here)s/data
 beaker.session.key = oilsweb
 beaker.session.secret = somesecret
+# If you'd like to fine-tune the individual locations of the cache data dirs
+# for the Cache data, or the Session saves, un-comment the desired settings
+# here:
+#beaker.cache.data_dir = %(here)s/data/cache
+#beaker.session.data_dir = %(here)s/data/sessions
+beaker.session.type = ext:memcached
+beaker.session.url = 127.0.0.1:11211
 
-# ----------------------------------------------------------
+# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
+# Debug mode will enable the interactive debugging tool, allowing ANYONE to
+# execute malicious code after an exception is raised.
+#set debug = false
+
+# ----------------------------------------------------------------
+# OpenSRF / OpenILS / Custom configs
+# ----------------------------------------------------------------
 osrf_config = /openils/conf/opensrf_core.xml
 osrf_config_ctxt = config.opensrf
 oils_prefix = /oils
+
 # media_prefix can be a path or full URL
 oils_media_prefix = /oils/media
+
 # added_content_prefix can be a path or full URL
 oils_added_content_prefix = http://dev.gapines.org/opac/extras/ac
+
 # URL relative to the app root where XSL files are found
 oils_xsl_prefix = oilsweb/public/oils/media/xsl
 oils_xsl_acq_bib = acq-bibdata-marc.xslt
 oils_xsl_marc2html = oilsMARC21slim2HTML.xsl
+
 # how long do we cache search results for
 oils_bib_cache_time = 3200
+
 # path to extra templates or overridden templates
 local_templates = /openils/var/web/oilsweb/oilsweb/local_templates
-# ----------------------------------------------------------
 
 
-# If you'd like to fine-tune the individual locations of the cache data dirs
-# for the Cache data, or the Session saves, un-comment the desired settings
-# here:
-#beaker.cache.data_dir = %(here)s/data/cache
-#beaker.session.data_dir = %(here)s/data/sessions
-
-# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
-# Debug mode will enable the interactive debugging tool, allowing ANYONE to
-# execute malicious code after an exception is raised.
-#set debug = false
 
 
 # Logging configuration