Forum OpenACS Q&A: Response to Does AOLserver 3.0 require .tcl style startup file?

Okay, let me post a small thing about .tcl param files to clear this up. We should also write this up into the main docs online.

If you're using .ini format, just plop AuxConfigDir in your ns/parameters section and make sure you have the ACS .ini file in that parameter directory. In that ACS .ini file, you need to make sure to change "yourservername" to whatever your server name actually is.

If you're using .tcl format all the way, which I recommend as it is much more flexible in the long run, you need to use the ad.tcl ACS parameter file. Also, AuxConfigDir will *not* work in your main parameter file. Instead, you'll need to explicitly source the other Tcl file by adding this line at the end of your main param file:

source /web/yourserver/parameters/yourserver.tcl
Or, if you're feeling adventurous and want to source all the Tcl files in there (which is more dangerous with .tcl than with .ini since the "yourservername" substitution is automatically done for you, so you might get confused as to which config files are actually getting sourced):
foreach tcl_file [glob /web/yourserver/parameters/*.tcl] {
	source $tcl_file
}