2 cat > conf/monkey.conf <<EOF
3 # Monkey HTTP Daemon - Configuration
4 # ==================================
5 # Here the variable principals of the program are defined in respect
6 # to the configuration of the different types of directives.
11 # Port is the number of the door in which Monkey will be listened through
12 # connections and petitions. This number can have any value between 1 and
13 # 65535. Whatever specified number less than or equal to 1024, only will
14 # be able to be established as a connection door if the user posesses
21 # Listen directive restrict Monkey to listen for incoming connections to just
22 # the network interface associated to the given value. In order to allow just
23 # loopback connection you could use:
29 # Monkey launches threads to attend clients; each worker thread is capable of
30 # attend more than one client request at the same time. The amount of
31 # clients that can be handled by each thread is calculated using the number of
32 # file descriptors allowed by the system. This variable cannot be less than 1.
38 # The lasgest span of time expressed in seconds during which you should
39 # wait to recive the information or waiting time for the remote host to
40 # accept an answer. (Timeout > 0)
46 # File where the server guards the process number when starting.
48 PidFile $logdir/monkey.pid
52 # Directory name for users home (/~user).
58 # Number of the inicial file of aperture when calling a directory.
60 Indexfile index.html index.htm
65 # For security reasons, sometimes people want to hide the version of his
66 # own webserver to clients (values on/off).
73 # Allow to retrieve chunks of file (values on/off).
79 # If you want the webserver to run as a process of a defined user, you can
80 # define it in this variable, so that the change of the user can done,
81 # it's necessary to execute Monkey with root priviledges. In case it's
82 # started by a user that doesn't have root priviledges, this variable will
90 # Just change the next variables if you know what are you doing.
94 # Allow persistent connections. (on/off)
100 # Maximun number of request per connection. (value > 0)
102 MaxKeepAliveRequest 20
106 # Number of seconds to wait for the next request in a persistent
107 # connection (value > 0).
113 # Allow request to symbolic link files.
120 # This plugin allows to create log files for each request arrived, it uses an
121 # access and error file which are defined inside every virtual host file, this
122 # section set just global directives for the plugin.
127 # This value defines in seconds the waiting time before to flush the data to the log file.
128 # Allowed values must be greater than zero (FlushTimeout > 0) .