Revision 1.1 |
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.
|
### Not fully implemented yet.
|
|
###
|
###
|
|
KeepAliveMaxConn 1024
|
### ### KeepAliveMaxDur
|
### ### KeepAliveMaxDur
|
### Maximum idle time before KeepAlive connections are closed.
### Not fully implemented yet.
|
### Maximum idle time (in seconds) before KeepAlive connections are
### 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
### Sets the file to log request errors to. Leave commented out to
### disable error logging. Note the this option will have no effect
### unless the --enable-logging option was specified when you
### configured CoW.
###
#ErrorLog /dev/null
###
### AccessLog
### Sets the file to log access requests errors to. Leave commented
### out to disable error logging. Note the this option will have no
### effect unless the --enable-logging option was specified when you
### configured CoW.
###
#AccessLog /dev/null
###
### GlobalMime
### If your server only returns a single type of file (e.g. all
### text/html), you can set this variable to that mime type to avoid
### the expensive type lookup. Leave this commented out if you server
### multiple types of files.
###
#GlobalMime "text/html"
###
### DefaultMime
### This setting specifies what mime type should be returned for
### unrecognized filename suffixes. Most servers will probably
### use either text/plain or application/octet-stream.
###
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
|