Difference between revisions of "Conf/Server"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | == ns_section "ns/server/ | + | == ns_section "ns/server/${server_name}" == |
part of [[Conf|AOLServer Config Reference]] | part of [[Conf|AOLServer Config Reference]] | ||
Latest revision as of 22:14, 21 December 2011
ns_section "ns/server/${server_name}"
part of AOLServer Config Reference
Define this Virtual Server
Server parameters
- directoryfile
- Comma separated list of default files to server under a directory path.
- pageroot
- Directory under which all pages live
Tuning options
- connsperthread
- Normally there's one conn per thread
- maxthreads
- Tune this to scale your server
- minthreads
- Tune this to scale your server
- threadtimeout
- Idle timeout for connection threads
- maxconnections
- Max connections per connection thread before it is shut down
- spread
- Variance factor for threadtimeout and maxconnections to prevent mass mortality of theads (e.g. +-20%)
Limits
- maxline
- Max line length from client
Directory listings can be generated with an ADP or a Tcl proc
- directoryadp
- Choose one or the other
- directoryproc
- ...but not both!
- directorylisting
- Can be simple or fancy (for ns_dirlist)
Miscellaneous
- checkmodifiedsince
- Check url if no If-Modified-Since?
- enableaolpress
- Enable extra features used by AOLpress
- headercase
- tolower, toupper, preserve