Difference between revisions of "Conf/Server"

From AOLserver Wiki
Jump to navigation Jump to search
(Created page with '== ns_section "ns/server/${servername}/adp" == '''ADP features''' ; directoryfile :List of files to use (index.html)')
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== ns_section "ns/server/${servername}/adp" ==
+
== ns_section "ns/server/${server_name}" ==
   
+
part of [[Conf|AOLServer Config Reference]]
'''ADP features'''
+
 
 +
Define this Virtual Server
 +
 
 +
'''Server parameters'''
 
; [[Conf/Parameters/Directoryfile | directoryfile]]
 
; [[Conf/Parameters/Directoryfile | directoryfile]]
:List of files to use (index.html)
+
:Comma separated list of default files to server under a directory path.
 +
 
 +
; [[Conf/Parameters/Pageroot | pageroot]]
 +
:Directory under which all pages live
 +
 
 +
'''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/Minthreads|minthreads]]
 +
:Tune this to scale your server
 +
 
 +
; [[Conf/Parameters/Threadtimeout|threadtimeout]]
 +
:Idle timeout for connection threads
 +
 
 +
; [[Conf/Parameters/Maxconnections|maxconnections]]
 +
:Max connections per connection thread before it is shut down
 +
 
 +
; [[Conf/Parameters/Spread|spread]]
 +
: Variance factor for threadtimeout and maxconnections to prevent mass mortality of theads (e.g. +-20%)
 +
 
 +
'''Limits'''
 +
; [[Conf/Parameters/Maxline|maxline]]
 +
:Max line length from client
 +
 
 +
'''Directory listings can be generated with an ADP or a Tcl proc'''
 +
; [[Conf/Parameters/Directoryadp|directoryadp]]
 +
:Choose one or the other
 +
 
 +
; [[Conf/Parameters/Directoryproc|directoryproc]]
 +
: ...but not both!
 +
 
 +
; [[Conf/Parameters/Directorylisting|directorylisting]]
 +
:Can be simple or fancy (for ns_dirlist)
 +
 
 +
'''Miscellaneous'''
 +
 
 +
; [[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

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