-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
29 lines (26 loc) · 1.26 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Copyright (c) 2004-2005 Sergey Lyubka <[email protected]>
* All rights reserved
*
* "THE BEER-WARE LICENSE" (Revision 42):
* Sergey Lyubka wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
*/
#ifndef CONFIG_HEADER_DEFINED
#define CONFIG_HEADER_DEFINED
#define VERSION "1.42" /* Version */
#define CONFIG_FILE "shttpd.conf" /* Configuration file */
#define HTPASSWD ".htpasswd" /* Passwords file name */
#define URI_MAX 16384 /* Default max request size */
#define LISTENING_PORTS "8080" /* Default listening ports */
#define INDEX_FILES "index.ssi,index.shtml,index.html,index.php,index.cgi"
#define CGI_EXT "cgi,pl,php" /* Default CGI extensions */
#define SSI_EXT "shtml,ssi" /* Default SSI extensions */
#define REALM "mydomain.com" /* Default authentication realm */
#define DELIM_CHARS "," /* Separators for lists */
#define EXPIRE_TIME 180 /* wkliang:20110615 org: 3600 Expiration time, seconds */
#define ENV_MAX 4096 /* Size of environment block */
#define CGI_ENV_VARS 64 /* Maximum vars passed to CGI */
#define SERVICE_NAME "SHTTPD " VERSION /* NT service name */
#endif /* CONFIG_HEADER_DEFINED */