Merge pull request #1818 from dibdot/lxc_fix
[project/luci.git] / libs / luci-lib-nixio / axTLS / httpd / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/config/Kconfig-language.txt
4 #
5
6 menu "Axhttpd Configuration"
7 depends on CONFIG_AXHTTPD
8
9 config CONFIG_HTTP_STATIC_BUILD
10     bool "Static Build"
11     default n
12     help
13         Select y if you want axhttpd to be a static build (i.e. don't use the
14         axtls shared library or dll).
15         
16 config CONFIG_HTTP_PORT
17     int "HTTP port"
18     default 80
19     help
20         The port number of the normal HTTP server. 
21
22         You must be a root user in order to use the default port.
23
24 config CONFIG_HTTP_HTTPS_PORT
25     int "HTTPS port"
26     default 443
27     help
28         The port number of the HTTPS server.
29
30         You must be a root user in order to use the default port.
31
32 config CONFIG_HTTP_SESSION_CACHE_SIZE
33     int "SSL session cache size"
34     default 5
35     help
36         The size of the SSL session cache.
37         
38         This is not actually related to the number of concurrent users, but 
39         for optimum performance they should be the same (with a penalty 
40         in memory usage).
41
42 config CONFIG_HTTP_WEBROOT
43     string "Web root location"
44     default "../www" if !CONFIG_PLATFORM_WIN32
45     default "..\\www" if CONFIG_PLATFORM_WIN32
46     help
47         The location of the web root in relation to axhttpd. This is 
48         the directory where index.html lives.
49
50 config CONFIG_HTTP_TIMEOUT
51     int "Timeout"
52     default 300
53     help
54         Set the timeout of a connection in seconds.
55
56 menu "CGI"
57 depends on !CONFIG_PLATFORM_WIN32
58
59 config CONFIG_HTTP_HAS_CGI
60     bool "Enable CGI"
61     default y
62     depends on !CONFIG_PLATFORM_WIN32
63     help
64         Enable the CGI capability. Not available on Win32 platforms.
65
66 config CONFIG_HTTP_CGI_EXTENSIONS
67     string "CGI File Extension(s)"
68     default ".lua,.lp"
69     depends on CONFIG_HTTP_HAS_CGI
70     help
71         Tell axhhtpd what file extension(s) are used for CGI.
72
73         This is a comma separated list - e.g. ".php,.pl" etc
74
75 config CONFIG_HTTP_ENABLE_LUA
76     bool "Enable Lua"
77     default y
78     depends on CONFIG_HTTP_HAS_CGI
79     help
80         Lua is a powerful, fast, light-weight, embeddable scripting language.
81
82         See http://www.lua.org for details.
83
84 config CONFIG_HTTP_LUA_PREFIX
85     string "Lua's Installation Prefix"
86     default "/usr/local"
87     depends on CONFIG_HTTP_ENABLE_LUA
88
89     help
90         The location of Lua's installation prefix. This is also necessary for
91         Lua's cgi launcher application.
92
93 config CONFIG_HTTP_LUA_CGI_LAUNCHER
94     string "CGI launcher location"
95     default "/bin/cgi.exe" if CONFIG_PLATFORM_CYGWIN
96     default "/bin/cgi" if !CONFIG_PLATFORM_CYGWIN
97     depends on CONFIG_HTTP_ENABLE_LUA
98     help
99         The location of LUA's CGI launcher application (after
100         the CONFIG_HTTP_LUA_PREFIX)
101
102 config CONFIG_HTTP_BUILD_LUA
103     bool "Build Lua"
104     default n
105     depends on CONFIG_HTTP_ENABLE_LUA
106     help
107         Build Lua and install in /usr/local/bin
108
109 endmenu
110
111 config CONFIG_HTTP_DIRECTORIES
112     bool "Enable Directory Listing"
113     default y
114     help
115         Enable directory listing.
116     
117 config CONFIG_HTTP_HAS_AUTHORIZATION
118     bool "Enable authorization"
119     default y
120     help
121         Pages/directories can have passwords associated with them.
122
123 config CONFIG_HTTP_HAS_IPV6
124     bool "Enable IPv6"
125     default n
126     depends on !CONFIG_PLATFORM_WIN32
127     help
128         Use IPv6 instead of IPv4.
129     
130         Does not work under Win32
131
132 config CONFIG_HTTP_ENABLE_DIFFERENT_USER
133     bool "Enable different user"
134     default n
135     depends on !CONFIG_PLATFORM_WIN32
136     help
137         Allow the web server to be run as a different user
138     
139 config CONFIG_HTTP_USER
140     string "As User"
141     default "nobody"
142     depends on CONFIG_HTTP_ENABLE_DIFFERENT_USER
143     help
144         The user name that will be used to run axhttpd.
145
146 config CONFIG_HTTP_VERBOSE
147     bool "Verbose Mode"
148     default y if CONFIG_SSL_FULL_MODE
149     default n if !CONFIG_SSL_FULL_MODE
150     help
151         Enable extra statements used when using axhttpd.
152
153 config CONFIG_HTTP_IS_DAEMON
154     bool "Run as a daemon"
155     default n
156     depends on !CONFIG_PLATFORM_WIN32
157     help 
158         Run axhttpd as a background process.
159
160         Does not work under Win32
161
162 endmenu
163