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