I would like to put some explanation about my last commit because it
looks like a lot of stuff changed but actually not.
The purpose was to run with smallest possible nsd.tcl with reasonable
defaults. The rest is tuning and just to run development or test server
i do not need several kilobytes config file.
So having that said several places needed to be corrected or added some
defaults, with existing config files nobody will see the difference.
Most noticeable changes are:
- if nscp loaded without settings, it will listen on 127.0.0.1 port
2080 and will accept connections with empty username and password. I
think this is reasonable for development server.
- if no home parameter specified, nsd will try to figure it using binary
executable, for now it parses Unix pathname only
- if no servers defined, it will run server "default", i.e. it silently
creates server "default" in config section "ns/servers"
So, minimal config now contains only section for loading modules for
server "default". I think, every module should able to be loaded without
any server, i.e. with server parameter = NULL in Ns_ModuleInit.
Currently nsdb module does not support this and other modules as well,
so i will research this more. Once done, it will be possible to load nsd
with global modules as standalone server without over-complicated
virtual server mess. Simple config, easier to use and debug.
--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/