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 (12 years, 1 month ago) by misho
Branches: v1_4_8, MAIN
CVS tags: datecs, HEAD
axTLS

#
# 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,.php"
    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"
    depends on CONFIG_HTTP_ENABLE_LUA

    help
        The location of Lua's installation prefix.

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

config CONFIG_HTTP_CGI_LAUNCHER
    string "CGI launcher location"
    default "/usr/bin/cgi"
    depends on CONFIG_HTTP_HAS_CGI
    help
        The location of the CGI launcher application (could be /usr/bin/php5).
        The default is to use Lua's CGI launcher.
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


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