QA: Add uri test files
[MonkeyD.git] / lang / en / mconf
blobacc6b53a3ce147cbaec959fcfe978d2d7304131b
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.
8 [SERVER]
9     # Port : 
10     # ------
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 
15     # privledges of Root.
17     Port 2001
19     # Listen:
20     # -------
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:
24     #
25     # Listen 127.0.0.1
27     # Workers:
28     # --------
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.
34     Workers 5
36     # Timeout :
37     # ---------
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)
42     Timeout 15
44     # PidFile:
45     # --------
46     # File where the server guards the process number when starting.
48     PidFile $logdir/monkey.pid
50     # UserDir:
51     # --------
52     # Directory name for users home (/~user).
54     UserDir public_html
56     # Indexfile :
57     # -----------
58     # Number of the inicial file of aperture when calling a directory.
60     Indexfile index.html index.htm
61     
62     
63     # HideVersion :
64     # ------------- 
65     # For security reasons, sometimes people want to hide the version of his 
66     # own webserver to clients (values on/off).
68     HideVersion off
71     # Resume:
72     # -------
73     # Allow to retrieve chunks of file (values on/off).
75     Resume on
77     # User :
78     # ------
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
83     # be omitted.
85     User nobody
87     # -----------------
88     #  ADVANCED CONFIG
89     # -----------------
90     # Just change the next variables if you know what are you doing.
92     # KeepAlive :
93     # -----------
94     # Allow persistent connections. (on/off)
96     KeepAlive on
98     # MaxKeepAliveRequest
99     # -------------------
100     # Maximun number of request per connection. (value > 0)
102     MaxKeepAliveRequest 20
104     # KeepAliveTimeout
105     # ----------------
106     # Number of seconds to wait for the next request in a persistent
107     # connection (value > 0).
109     KeepAliveTimeout 15 
111     # SymLink
112     # -------
113     # Allow request to symbolic link files.
115     SymLink Off
118 # Logger:
119 # ------- 
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.
124 [LOGGER]
125     # FlushTimeout
126     # ------------
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) . 
130     FlushTimeout 3