diff options
Diffstat (limited to 'yhttpd/etc/yhttpd.conf')
| -rw-r--r-- | yhttpd/etc/yhttpd.conf | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/yhttpd/etc/yhttpd.conf b/yhttpd/etc/yhttpd.conf new file mode 100644 index 0000000..690f82d --- /dev/null +++ b/yhttpd/etc/yhttpd.conf @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> +<config> +<category name="httpd"> + <option name="serverport"> + <value>2000</value> + <descr>Local port on which the server listens</descr> + </option> + <option name="enablecgi"> + <value>false</value> + <descr>Support for CGI scripts</descr> + </option> + <option name="startsite"> + <value>index.html</value> + <descr>Specifies the standard start HTML-template</descr> + </option> + <option name="templatedir"> + <value>html/</value> + <descr>If set to false, yhttpd strips all html tags from incoming messages</descr> + </option> + <option name="ipcachesize"> + <value>50</value> + <descr>Specifies the IP cache size. If set to 0, the IP cache will be cleared every 10 minutes. Otherwise, the IP cache will be cleared every 10 minutes only if there are more IPs in the cache than the specified amount.</descr> + </option> + <category name="html"> + <option name="notfound"> + <value>notfound.html</value> + <descr>The HTML site which will be displayed if the requested file does not exists</descr> + </option> + </category> + <category name="thread"> + <option name="initpoolsize"> + <value>10</value> + <descr>Initial number of threads running at the same time. If there are less than 5 threads in the pool waiting, the thread pool will resize to 10.</descr> + </option> + <option name="maxpoolsize"> + <value>0</value> + <descr>Maximum amount of parallel running threads. Change this to 0 if you want to use unlimited threads. If you have set a number not equal to 0, then there have to be at least 2 waiting threads to allow a new user login. A maxpoolsize of 52 means a max user limit of 50 users.</descr> + </option> + </category> + <category name="stats"> + <option name="rusagehistory"> + <value>7</value> + <descr>Number of days to track the system resource usage. You can check the history in the CLI mode</descr> + </option> + </category> + <category name="system"> + <option name="shell"> + <value>tcsh</value> + <descr>The external command for the system shell which can be selected in the CLI mode</descr> + </option> + </category> + <category name="modules"> + <option name="commandsdir"> + <value>mods/commands/</value> + <descr>Specifies the relative or absolute path to the command's .so module files which can be loaded and unloaded at runtime</descr> + </option> + <option name="htmldir"> + <value>mods/html/</value> + <descr>Specifies the relative or absolute path to the html's .so module files which can be loaded and unloaded at runtime</descr> + </option> + <option name="preloadcommands"> + <value>true</value> + <descr>If set to true, all command modules will be preloaded at server startup</descr> + </option> + <option name="preloadhtml"> + <value>true</value> + <descr>If set to true, all html modules will be preloaded at server startup</descr> + </option> + </category> + <category name="logging"> + <option name="accessfile"> + <value>log/access_log</value> + <descr>Specifies the relative or absolute path to the apache combined style log file</descr> + </option> + <option name="systemfile"> + <value>log/system_log</value> + <descr>Specifies the relative or absolute path to the system messsage log file</descr> + </option> + <option name="accesslines"> + <value>0</value> + <descr>Number of access log lines which will be buffered in the main memory until they will be written into the file</descr> + </option> + <option name="systemlines"> + <value>0</value> + <descr>Number of system log lines which will be buffered in the main memory until they will be written into the file</descr> + </option> + </category> + <category name="contenttypes"> + <option name="htm"> + <value>text/html</value> + </option> + <option name="html"> + <value>text/html</value> + </option> + <option name="gif"> + <value>image/gif</value> + </option> + <option name="jpg"> + <value>image/jpeg</value> + </option> + <option name="jpe"> + <value>image/jpeg</value> + </option> + <option name="jpeg"> + <value>image/jpeg</value> + </option> + <option name="png"> + <value>image/png</value> + </option> + <option name="txt"> + <value>text/plain</value> + </option> + <option name="default"> + <value>text/html</value> + </option> + </category> + <category name="ssl"> + <option name="certificatepath"> + <value>etc/cert.pem</value> + </option> + <option name="privatekeypath"> + <value>etc/privkey.pem</value> + </option> + </category> +</category> +</config> |
