summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/axTLS/httpd/Config.in
blob: 513d57ae30d4ca4dd658a688ce37d0fe8cb3a9ba (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
#
# For a description of the syntax of this configuration file,
# see scripts/config/Kconfig-language.txt
#

menu "Axhttpd Configuration"
depends on CONFIG_AXHTTPD

config CONFIG_HTTP_STATIC_BUILD
    bool "Static Build"
    default n
    help
        Select y if you want axhttpd to be a static build (i.e. don't use the
        axtls shared library or dll).
        
config CONFIG_HTTP_PORT
    int "HTTP port"
    default 80
    help
        The port number of the normal HTTP server. 

        You must be a root user in order to use the default port.

config CONFIG_HTTP_HTTPS_PORT
    int "HTTPS port"
    default 443
    help
        The port number of the HTTPS server.

        You must be a root user in order to use the default port.

config CONFIG_HTTP_SESSION_CACHE_SIZE
    int "SSL session cache size"
    default 5
    help
        The size of the SSL session cache.
        
        This is not actually related to the number of concurrent users, but 
        for optimum performance they should be the same (with a penalty 
        in memory usage).

config CONFIG_HTTP_WEBROOT
    string "Web root location"
    default "../www" if !CONFIG_PLATFORM_WIN32
    default "..\\www" if CONFIG_PLATFORM_WIN32
    help
        The location of the web root in relation to axhttpd. This is 
        the directory where index.html lives.

config CONFIG_HTTP_TIMEOUT
    int "Timeout"
    default 300
    help
        Set the timeout of a connection in seconds.

menu "CGI"
depends on !CONFIG_PLATFORM_WIN32

config CONFIG_HTTP_HAS_CGI
    bool "Enable CGI"
    default y
    depends on !CONFIG_PLATFORM_WIN32
    help
        Enable the CGI capability. Not available on Win32 platforms.

config CONFIG_HTTP_CGI_EXTENSIONS
    string "CGI File Extension(s)"
    default ".lua,.lp"
    depends on CONFIG_HTTP_HAS_CGI
    help
        Tell axhhtpd what file extension(s) are used for CGI.

        This is a comma separated list - e.g. ".php,.pl" etc

config CONFIG_HTTP_ENABLE_LUA
    bool "Enable Lua"
    default y
    depends on CONFIG_HTTP_HAS_CGI
    help
        Lua is a powerful, fast, light-weight, embeddable scripting language.

        See http://www.lua.org for details.

config CONFIG_HTTP_LUA_PREFIX
    string "Lua's Installation Prefix"
    default "/usr/local"
    depends on CONFIG_HTTP_ENABLE_LUA

    help
        The location of Lua's installation prefix. This is also necessary for
        Lua's cgi launcher application.

config CONFIG_HTTP_LUA_CGI_LAUNCHER
    string "CGI launcher location"
    default "/bin/cgi.exe" if CONFIG_PLATFORM_CYGWIN
    default "/bin/cgi" if !CONFIG_PLATFORM_CYGWIN
    depends on CONFIG_HTTP_ENABLE_LUA
    help
        The location of LUA's CGI launcher application (after
        the CONFIG_HTTP_LUA_PREFIX)

config CONFIG_HTTP_BUILD_LUA
    bool "Build Lua"
    default n
    depends on CONFIG_HTTP_ENABLE_LUA
    help
        Build Lua and install in /usr/local/bin

endmenu

config CONFIG_HTTP_DIRECTORIES
    bool "Enable Directory Listing"
    default y
    help
        Enable directory listing.
    
config CONFIG_HTTP_HAS_AUTHORIZATION
    bool "Enable authorization"
    default y
    help
        Pages/directories can have passwords associated with them.

config CONFIG_HTTP_HAS_IPV6
    bool "Enable IPv6"
    default n
    depends on !CONFIG_PLATFORM_WIN32
    help
        Use IPv6 instead of IPv4.
    
        Does not work under Win32

config CONFIG_HTTP_ENABLE_DIFFERENT_USER
    bool "Enable different user"
    default n
    depends on !CONFIG_PLATFORM_WIN32
    help
        Allow the web server to be run as a different user
    
config CONFIG_HTTP_USER
    string "As User"
    default "nobody"
    depends on CONFIG_HTTP_ENABLE_DIFFERENT_USER
    help
        The user name that will be used to run axhttpd.

config CONFIG_HTTP_VERBOSE
    bool "Verbose Mode"
    default y if CONFIG_SSL_FULL_MODE
    default n if !CONFIG_SSL_FULL_MODE
    help
        Enable extra statements used when using axhttpd.

config CONFIG_HTTP_IS_DAEMON
    bool "Run as a daemon"
    default n
    depends on !CONFIG_PLATFORM_WIN32
    help 
        Run axhttpd as a background process.

        Does not work under Win32

endmenu