Forum OpenACS Q&A: Re: Sample Parameters File?

Posted by Randy O'Meara on
The following must also be added to your service startup config.tcl.

Under section:
    ns_section ns/parameters

Add entry:
    ns_param  auxconfigdir      ${serverroot}/parameters

Why am I mucking around with this? The parameter-override (this) mechanism is the only way I've found to set the "DefaultMaster" parameter of acs-subsite so that all subsequently created subsites pickup this value automatically.

It's a little odd (I think) that when I use the "install.xml" mechanism to set the acs-subsite DefaultMaster parameter, it doesn't cause new subsites to use the defined value. However, install.xml does work as expected when setting parameters of an 'instance' of acs-subsite. Very subtle...


Posted by Randy O'Meara on
This override.ini functionality was removed from aolserver 4.

The answer in AS4 is to convert the .ini to .tcl and source the file from you serviceN.tcl startup script. This can be accomplished with ini2tcl.tcl found in the aolserver source distribution.