From: Vlad S. <vl...@cr...> - 2007-08-10 20:29:44
|
For example instead of this (or it could be used at the same time, it is not a replacement) ns_section "ns/fastpath" ns_param cache false ns_param cachemaxsize 5120000 ns_param cachemaxentry 512000 ns_param mmap false it may look like this (still Tcl) section "fastpath" { cache false cachemaxsize 5120000 cachemaxentry 512000 mmap false } section "server/${servername}" { connsperthread 0 flushcontent false maxconnections 100 maxthreads 10 minthreads 0 threadtimeout 120 } As you can see this is Tcl command section proc section { name args } { ns_section ns/$name foreach { key val } $args { ns_param $key $val } } But config looks like more 21 century and more structured and easier to read. Very similar to lighttpd by the way. -- Vlad Seryakov vl...@cr... http://www.crystalballinc.com/vlad/ |