2
* Copyright (c) 2004-2005 Sergey Lyubka <valenok@gmail.com>
5
* "THE BEER-WARE LICENSE" (Revision 42):
6
* Sergey Lyubka wrote this file. As long as you retain this notice you
7
* can do whatever you want with this stuff. If we meet some day, and you think
8
* this stuff is worth it, you can buy me a beer in return.
11
#ifndef CONFIG_HEADER_DEFINED
12
#define CONFIG_HEADER_DEFINED
15
#define VERSION "1.41" /* Version */
16
#define CONFIG_FILE "shttpd.conf" /* Configuration file */
17
#define HTPASSWD ".htpasswd" /* Passwords file name */
18
#define URI_MAX 65536 /* Default max request size */
19
#define LISTENING_PORTS "80" /* Default listening ports */
20
#define INDEX_FILES "index.html,index.htm,index.php,index.cgi"
21
#define CGI_EXT "cgi,pl,php" /* Default CGI extensions */
22
#define SSI_EXT "shtml,shtm" /* Default SSI extensions */
23
#define REALM "mydomain.com" /* Default authentication realm */
24
#define DELIM_CHARS "," /* Separators for lists */
25
#define EXPIRE_TIME 3600 /* Expiration time, seconds */
26
#define ENV_MAX 4096 /* Size of environment block */
27
#define CGI_ENV_VARS 64 /* Maximum vars passed to CGI */
28
#define SERVICE_NAME "SHTTPD " VERSION /* NT service name */
30
#endif /* CONFIG_HEADER_DEFINED */