1
0

Config.in 4.1 KB

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