Index: openacs-4/packages/acs-core-docs/www/xml/files/openacs4.tcl.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/files/Attic/openacs4.tcl.txt,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-core-docs/www/xml/files/openacs4.tcl.txt 30 Nov 2002 17:17:14 -0000 1.2 +++ openacs-4/packages/acs-core-docs/www/xml/files/openacs4.tcl.txt 10 Apr 2003 00:11:10 -0000 1.3 @@ -1,3 +1,9 @@ +# +# AOLserver nsd.tcl config file for use with OpenACS 4.x +# +# $Id$ + + ns_log notice "nsd.tcl: starting to read config file..." # which database do you want? postgres or oracle @@ -252,6 +258,38 @@ ns_param 404 "global/file-not-found.html" ns_param 403 "global/forbidden.html" + +## +## OpenACS DB API: +## +#ns_section ns/server/${server}/acs/database +# +## If you configure only 3 AOLserver database pools all talking to the +## same database, like the example above, then you do NOT need this +## section at all. Just leave it commented out and everything will +## work fine. +# +## The first database on this list is the default, used for the OpenACS +## data model and all related operations: +# +#if { [string equal $database {oracle}] } { +# ns_param database_names [list ora pg another_database] +# set dbn_default {ora} +#} else { +# ns_param database_names [list pg ora another_database] +# set dbn_other {pg} +#} +# +## For each database name in the list above, tell the DB API which +## pools belong to it: +# +#ns_param pools_${default} [list pool1 pool2 pool3] +##ns_param pools_${other} [list pool-a pool-b pool-c] +##ns_param pools_another_database [list ora-a ora-b] +# +## See also comments in "/packages/acs-tcl/tcl/00-database-procs.tcl". + + # # Access log -- nslog #