Home
The Toolkit for Online Communities
17200 Community Members, 0 members online, 2076 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Sample Parameters File? : One Message

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

Collapse
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...

Randy

Collapse
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.

Ref: http://www.mail-archive.com/aolserver@listserv.aol.com/msg06585.html