On Tuesday 29 March 2005 04:38, Dossy Shiobara wrote:
> On 2005.03.28, Jade Rubick <[EMAIL PROTECTED]> wrote:
> > Maybe I missed some followup to this posting, but it seems like this
> > would be an excellent thing to follow up with. Is there any plan to make
> > this the default for new installations?
> >
> > >Topics of the day:
> > >
> > > 1. Simple yet flexible configuration for Aolserver
>
> I'm not a big fan of making the *default* config for new installations
> more complex.  I think the sample-config.tcl is great because it's
> really simple.  Perhaps not very powerful, but it is very simple.

Jade,

I would agree with Dossy that the default should be relatively simple. I would
be nice if it was complete, or if a sample config section for a module would
be maintained with the module, as a separate file. Even the main server has
nsdb and nssock modules. These module sections are repeated once for every db
pool or ip:port combination. Similarly the virtual server modules: nslog,
nscgi, nsssl, etc. should have example config sections maintained along with
the module. Whenever a module is updated to use new parameters, the example
config section file would also be updated. We would also need a separate
'main server' file which would contain the complete list of sections and
parameters used by the main server. These files would serve to document, and
would make it easier to view the change history for a particular module. It
also makes it easier for new modules to be added without mucking around with
the default.

You might also like to look at a similar effort I have been working on,
located at <http://rmadilo.com/m2/>, the starting point is jnm.tcl and the
'run' file is at <http://rmadilo.com/m2/servers/jnm/run>.  The setup is
immune from most misconfigurations which would keep the server from starting
(fatal). Mostly this is useful when you add a new virtual server and get
something wrong. The correctly configured servers will still startup.

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to