Index: openacs-4/etc/config.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/config.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/etc/config.tcl 29 Apr 2003 03:56:18 -0000 1.2 +++ openacs-4/etc/config.tcl 7 Jun 2003 20:39:41 -0000 1.3 @@ -23,6 +23,7 @@ # if debug is false, all debugging will be turned off set debug false + # you shouldn't need to adjust much below here # for a standard install @@ -206,10 +207,10 @@ } # -# Database Pools: This is how AOLserver ``talks'' to the RDBMS. You need -# three for OpenACS: main, log, subquery. Make sure to replace ``yourdb'' -# and ``yourpassword'' with the actual values for your db name and the -# password for it. +# Database Pools: This is how AOLserver ``talks'' to the RDBMS. You +# need three for OpenACS: pool1, pool2, pool3. (Traditionally, these +# three pools were named "main", "log", "subquery", but the specific +# names no longer matter.) # AOLserver can have different pools connecting to different databases # and even different different database servers. @@ -280,6 +281,25 @@ ns_param pools "*" ns_param defaultpool pool1 + +ns_section ns/server/${server}/acs/database + +# Define the mapping between databases and pools, for use by the +# OpenACS Database API. For full details, see comments in +# "packages/acs-tcl/tcl/00-database-procs.tcl". + +ns_param database_names [list openacs] +ns_param pools_openacs [list pool1 pool2 pool3] + +# If you have other databases you want to use the OpenACS DB API with, +# you would instead do something like this here: +# +# ns_param database_names [list openacs db2 db3] +# ns_param pools_openacs [list pool1 pool2 pool3] +# ns_param pools_db2 [list db2pool1 db2pool2] +# ns_param pools_db3 [list db3pool1] + + ns_section ns/server/${server}/redirects ns_param 404 "global/file-not-found.html" ns_param 403 "global/forbidden.html"