File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / axTLS / httpd / Config.in
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Fri Sep 28 11:55:55 2012 UTC (11 years, 9 months ago) by misho
Branches: v1_4_8, MAIN
CVS tags: datecs, HEAD
axTLS

    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,.php"
   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"
   87:     depends on CONFIG_HTTP_ENABLE_LUA
   88: 
   89:     help
   90:         The location of Lua's installation prefix.
   91: 
   92: config CONFIG_HTTP_BUILD_LUA
   93:     bool "Build Lua"
   94:     default n
   95:     depends on CONFIG_HTTP_ENABLE_LUA
   96:     help
   97:         Build Lua and install in /usr/bin by default.
   98: 
   99: config CONFIG_HTTP_CGI_LAUNCHER
  100:     string "CGI launcher location"
  101:     default "/usr/bin/cgi"
  102:     depends on CONFIG_HTTP_HAS_CGI
  103:     help
  104:         The location of the CGI launcher application (could be /usr/bin/php5).
  105:         The default is to use Lua's CGI launcher.
  106: endmenu
  107: 
  108: config CONFIG_HTTP_DIRECTORIES
  109:     bool "Enable Directory Listing"
  110:     default y
  111:     help
  112:         Enable directory listing.
  113:     
  114: config CONFIG_HTTP_HAS_AUTHORIZATION
  115:     bool "Enable authorization"
  116:     default y
  117:     help
  118:         Pages/directories can have passwords associated with them.
  119: 
  120: config CONFIG_HTTP_HAS_IPV6
  121:     bool "Enable IPv6"
  122:     default n
  123:     depends on !CONFIG_PLATFORM_WIN32
  124:     help
  125:         Use IPv6 instead of IPv4.
  126:     
  127:         Does not work under Win32
  128: 
  129: config CONFIG_HTTP_ENABLE_DIFFERENT_USER
  130:     bool "Enable different user"
  131:     default n
  132:     depends on !CONFIG_PLATFORM_WIN32
  133:     help
  134:         Allow the web server to be run as a different user
  135:     
  136: config CONFIG_HTTP_USER
  137:     string "As User"
  138:     default "nobody"
  139:     depends on CONFIG_HTTP_ENABLE_DIFFERENT_USER
  140:     help
  141:         The user name that will be used to run axhttpd.
  142: 
  143: config CONFIG_HTTP_VERBOSE
  144:     bool "Verbose Mode"
  145:     default y if CONFIG_SSL_FULL_MODE
  146:     default n if !CONFIG_SSL_FULL_MODE
  147:     help
  148:         Enable extra statements used when using axhttpd.
  149: 
  150: config CONFIG_HTTP_IS_DAEMON
  151:     bool "Run as a daemon"
  152:     default n
  153:     depends on !CONFIG_PLATFORM_WIN32
  154:     help 
  155:         Run axhttpd as a background process.
  156: 
  157:         Does not work under Win32
  158: 
  159: endmenu
  160: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>