Revision 1.2 |
Revision 1.8 |
Line 7 |
Line 7 |
### Base directory for documents server by this server. This ### should be an absolute path. ### 
|
### Base directory for documents server by this server. This ### should be an absolute path. ### 
|
ServerRoot "/www/htdocs"
|
ServerRoot "/home/roper/work/linuxcow"
|
### ### ServerPort
|
### ### ServerPort
|
Line 20 |
Line 20 |
### NumHands ### Number of handler threads you want the server to run. ###
|
### NumHands ### Number of handler threads you want the server to run. ###
|
NumHands 16
|
NumHands 1024
|
### ### Verbose
|
### ### Verbose
|
Line 30 |
Line 30 |
#Verbose 1 ###
|
#Verbose 1 ###
|
### KeepAliveMaxCon
|
### KeepAliveMaxConn
|
### Maximum number of simultaneous KeepAlive connections supported. ###
|
### Maximum number of simultaneous KeepAlive connections supported. ###
|
KeepAliveMaxCon 16
|
KeepAliveMaxConn 1024
|
### ### KeepAliveMaxDur
|
### ### KeepAliveMaxDur
|
Line 41 |
Line 41 |
### closed. ### KeepAliveMaxDur 10
|
### closed. ### KeepAliveMaxDur 10
|
|
###
### IndexFile
### Defines a filename that will be returned if the requested URI
### is a directory. You can have as many IndexFile directives as necessary;
### they will be searched for in the order listed in this file.
###
IndexFile "index.html"
IndexFile "index.htm"
|
### ### ErrorLog
|
### ### ErrorLog
|
Line 77 |
Line 86 |
### DefaultMime "text/plain"
|
### DefaultMime "text/plain"
|
|
###
### DisableNagle
### Disables the Nagle algorithm. The Nagle algorithm is a feature of
### the TCP/IP stack that causes small socket writes to be queued until
### there is enough outgoing data to create a regular sized packet. This
### can hurt performance in some cases, but is generally better for the
### network as a whole. Whether Nagle should be left enabled or not for
### web servers is still a heavily argued topic; since most other servers
### (Apache, Boa, etc.) disable Nagle, I've provided it as an option in CoW.
### CoW leaves Nagle on by default; uncomment the following line to disable
### it.
###
DisableNagle 1
|