|
|
|
Httpconn
Action : tom.httpconn (Category : tom, Name : httpconn, By : kikonf)
Complete Name : tom.httpconn.by.kikonf Version : 1.0 License : Modified BSD License Purpose of the tom category : Easy to customize. This category use in background the Kikonf Repoz tools to create and configure Apache Tomcat ® root installs and Catalina bases at any level (server.xml, hosts or defaults). You can use it to manage the whole Tomcat ® Architecture. Purpose of this httpconn plugin : Configure an HTTP connector. The following shows the Descriptor File for the Action : tom.httpconn Toggle lines <!-- Copyright (c) 2008, Patrick Germain Placidoux --> <!-- All rights reserved. --> <!-- --> <!-- This file is part of Kikonf Public Software. --> <!-- --> <!-- Kikonf Public Software is released under the modified BSD License, --> <!-- which should accompany it or any part of it in the file "COPYING". --> <!-- If you do not have this file you can access the license --> <!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt. --> <!-- --> <!-- Home page: http://www.kikonf.org --> <!-- Contact: kikonf@gmx.com --> <!-- ====================================================================== --> <!-- --> <!-- --> <!-- --> <!-- ====================================================================== --> <!-- UPDATE | DATE | CODE | REASON --> <!-- ====================================================================== --> <!-- | | | --> <!-- --> <!-- --> <!-- ====================================================================== --> <httpconn type = '{\ *eq:action,\ *required:True,\ *display:False\ }' bal = '{*display:False}' sub_type = '{\ *value:configuration,\ *eq:configuration,\ *required:True,\ *deny:True,\ *display:False\ }' softwares = "{ '*type':'dict', '*dtype': { 'tom': { '*ge':'5.5', '*le':'7', '*required':True } }, '*deny':True, '*display':False }" address = '{\ *help:%lang/action.tom.en/hconn.address.help,\ *lhelp:%lang/action.tom.en/hconn.address.lhelp,\ }' port = '{\ *value:8080,\ *type:int,\ *required:True,\ *help:%lang/action.tom.en/hconn.port.help,\ *lhelp:%lang/action.tom.en/hconn.port.lhelp,\ }' redirectPort = '{\ *value:8443,\ *type:int,\ *help:%lang/action.tom.en/hconn.redirectPort.help,\ *lhelp:%lang/action.tom.en/hconn.redirectPort.lhelp,\ }' __wk__ = '{\ *help:%lang/action.tom.en/httpconn.help,\ *lhelp:%lang/action.tom.en/httpconn.lhelp\ }' > <scope cbase = "{'*value':'$[software_tom_catalina_base]'}" service = '' engine = '' host = '' context.global = '{*checkIn:(true,false),*value:false}' context = '' context.default.global = '{*checkIn:(true,false),*value:false}' context.default = '{*checkIn:(true,false),*value:false}' __wk__ = '{\ *eq:1,\ *help:%lang/action.tom.en/scope.help,\ *lhelp:%lang/action.tom.en/scope.lhelp,\ }' /> <timeouts connectionLinger = '{\ *value:-1,\ *type:int,\ *help:%lang/action.tom.en/hconn.timeouts.connectionLinger.help,\ *lhelp:%lang/action.tom.en/hconn.timeouts.connectionLinger.lhelp\ }' connectionTimeout = '{\ *value:60000,\ *type:int,\ *help:%lang/action.tom.en/hconn.timeouts.connectionTimeout.help,\ *lhelp:%lang/action.tom.en/hconn.timeouts.connectionTimeout.lhelp\ }' disableUploadTimeout = '{\ *value:true,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/hconn.timeouts.disableUploadTimeout.help,\ *lhelp:%lang/action.tom.en/hconn.timeouts.disableUploadTimeout.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.timeouts.help,\ *lhelp:%lang/action.tom.en/httpconn.timeouts.lhelp\ }' /> <sizes socketBuffer = '{\ *value:9000,\ *type:int,\ *help:%lang/action.tom.en/hconn.sizes.socketBuffer.help,\ *lhelp:%lang/action.tom.en/hconn.sizes.socketBuffer.lhelp\ }' bufferSize = '{\ *value:2048,\ *type:int,\ *help:%lang/action.tom.en/hconn.sizes.bufferSize.help,\ *lhelp:%lang/action.tom.en/hconn.sizes.bufferSize.lhelp\ }' maxHttpHeaderSize = '{\ *value:4096,\ *type:int,\ *help:%lang/action.tom.en/hconn.sizes.maxHttpHeaderSize.help,\ *lhelp:%lang/action.tom.en/hconn.sizes.maxHttpHeaderSize.lhelp\ }' maxPostSize = '{\ *value:2097152,\ *type:int,\ *help:%lang/action.tom.en/hconn.sizes.maxPostSize.help,\ *lhelp:%lang/action.tom.en/hconn.sizes.maxPostSize.lhelp\ }' maxSavePostSize = '{\ *value:4096,\ *type:int,\ *help:%lang/action.tom.en/hconn.sizes.maxSavePostSize.help,\ *lhelp:%lang/action.tom.en/hconn.sizes.maxSavePostSize.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.sizes.help,\ *lhelp:%lang/action.tom.en/httpconn.sizes.lhelp\ }' /> <!-- scheme: Accepter None pour scheme, Switche a https si tag ssl (1) secure: Accepter None pour secure, Switche a true si tag ssl (1) --> <methods enableLookups = '{\ *value:true,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/hconn.methods.enableLookups.help,\ *lhelp:%lang/action.tom.en/hconn.methods.enableLookups.lhelp\ }' useIPVHosts = '{\ *value:false,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/hconn.methods.useIPVHosts.help,\ *lhelp:%lang/action.tom.en/hconn.methods.useIPVHosts.lhelp\ }' proxyName = '{\ *help:%lang/action.tom.en/hconn.methods.proxyName.help,\ *lhelp:%lang/action.tom.en/hconn.methods.proxyName.lhelp\ }' proxyPort = '{\ *type:int,\ *help:%lang/action.tom.en/hconn.methods.proxyPort.help,\ *lhelp:%lang/action.tom.en/hconn.methods.proxyPort.lhelp\ }' scheme = '{\ *value:http,\ *checkIn:(http,https),\ *help:%lang/action.tom.en/hconn.methods.scheme.help,\ *lhelp:%lang/action.tom.en/hconn.methods.scheme.lhelp\ }' secure = '{\ *value:false,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/hconn.methods.secure.help,\ *lhelp:%lang/action.tom.en/hconn.methods.secure.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.methods.help,\ *lhelp:%lang/action.tom.en/httpconn.methods.lhelp\ }' /> <pools acceptCount = '{\ *value:100,\ *type:int,\ *help:%lang/action.tom.en/httpconn.pools.acceptCount.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.acceptCount.lhelp\ }' maxKeepAliveRequests = '{\ *value:100,\ *type:int,\ *help:%lang/action.tom.en/httpconn.pools.maxKeepAliveRequests.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.maxKeepAliveRequests.lhelp\ }' maxSpareThreads = '{\ *value:50,\ *type:int,\ *help:%lang/action.tom.en/httpconn.pools.maxSpareThreads.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.maxSpareThreads.lhelp\ }' minSpareThreads = '{\ *value:4,\ *type:int,\ *help:%lang/action.tom.en/httpconn.pools.minSpareThreads.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.minSpareThreads.lhelp\ }' maxThreads = '{\ *value:200,\ *type:int,\ *help:%lang/action.tom.en/httpconn.pools.maxThreads.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.maxThreads.lhelp\ }' strategy = '{\ *value:lf,\ *checkIn:(lf,ms),\ *help:%lang/action.tom.en/httpconn.pools.strategy.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.strategy.lhelp\ }' threadPriority = '{\ *value:java.lang.Thread#NORM_PRIORITY,\ *help:%lang/action.tom.en/httpconn.pools.threadPriority.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.threadPriority.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.pools.help,\ *lhelp:%lang/action.tom.en/httpconn.pools.lhelp\ }' /> <extended __wk__ = '{\ *le:1,\ *display:False,\ *help:%lang/action.tom.en/httpconn.extended.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.lhelp\ }' > <encoding URIEncoding = '{\ *value:ISO-8859-1,\ *help:%lang/action.tom.en/httpconn.extended.encoding.URIEncoding.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.encoding.URIEncoding.lhelp\ }' useBodyEncodingForURI = '{\ *help:%lang/action.tom.en/httpconn.extended.encoding.useBodyEncodingForURI.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.encoding.useBodyEncodingForURI.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.extended.encoding.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.encoding.lhelp\ }' /> <!-- noCompressionUserAgents: TEXT list --> <!-- restrictedUserAgents: TEXT list --> <agent __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/aprconn.extended.agent.help,\ *lhelp:%lang/action.tom.en/aprconn.extended.agent.lhelp\ }' > <noCompressionUserAgents> __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/aprconn.extended.agent.noCompressionUserAgents.help,\ *lhelp:%lang/action.tom.en/aprconn.extended.agent.noCompressionUserAgents.lhelp\ }' > </noCompressionUserAgents> <restrictedUserAgents> __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/aprconn.extended.agent.restrictedUserAgents.help,\ *lhelp:%lang/action.tom.en/aprconn.extended.agent.restrictedUserAgents.lhelp\ }' > </restrictedUserAgents> </agent> <headers emptySessionPath = '{\ *value:false,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/httpconn.extended.headers.emptySessionPath.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.headers.emptySessionPath.lhelp\ }' xpoweredBy = '{\ *value:false,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/httpconn.extended.headers.xpoweredBy.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.headers.xpoweredBy.lhelp\ }' Server = '{\ *value:Apache-Coyote/1.1,\ *help:%lang/action.tom.en/httpconn.extended.headers.Server.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.headers.Server.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.extended.headers.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.headers.lhelp\ }' /> <!-- Default off\ on : allows\ force : force compression for all MIMES TYPES.\ int: <=> on + mimimum Datas length befor compression. --> <compression enable = '{\ *value:off,\ *help:%lang/action.tom.en/httpconn.extended.compression.enable.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.compression.enable.lhelp\ }' compressableMimeType = "{\ '*value': 'text/html,text/xml,text/plain',\ '*help': '%lang/action.tom.en/httpconn.extended.compression.compressableMimeType.help',\ '*lhelp': '%lang/action.tom.en/httpconn.extended.compression.compressableMimeType.lhelp'\ }" __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.extended.compression.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.compression.lhelp\ }' /> <tcp allowTrace = '{\ *value:false,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/httpconn.extended.tcp.allowTrace.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.tcp.allowTrace.lhelp\ }' tcpNoDelay = '{\ *value:true,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/httpconn.extended.tcp.tcpNoDelay.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.tcp.tcpNoDelay.lhelp\ }' __wk__ = '{\ *le:1,\ *display:False,\ *help:%lang/action.tom.en/httpconn.extended.tcp.help,\ *lhelp:%lang/action.tom.en/httpconn.extended.tcp.lhelp\ }' /> </extended> <!-- => Accepter None pour scheme, Switche a https si tag ssl !!! (1) secure, Switche a on si tag ssl !!! (1) => Ajouter un tag (voir AFAIRE.txt) __display_activate__ = '{*value:true,*checkIn(true,false)}' Note ceci <ssl/> Provoque cela ds Server.xml : Connector : + scheme="https" +secure="true" +clientAuth="false" + sslProtocol="TLS" --> <!-- ciphers: est un TEXT:list --> <ssl sslProtocol = '{\ *value:TLS,\ *help:%lang/action.tom.en/httpconn.ssl.sslProtocol.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.sslProtocol.lhelp\ }' clientAuth = '{\ *value:false,\ *checkIn:(true,false),\ *help:%lang/action.tom.en/httpconn.ssl.clientAuth.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.clientAuth.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.ssl.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.lhelp\ }' > <keystore keystoreFile = '{\ *help:%lang/action.tom.en/httpconn.ssl.keystore.keystoreFile.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.keystore.keystoreFile.lhelp\ }' keystorePass = '{\ *help:%lang/action.tom.en/httpconn.ssl.keystore.keystorePass.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.keystore.keystorePass.lhelp\ }' keystoreType = '{\ *value:JKS,\ *help:%lang/action.tom.en/httpconn.ssl.keystore.keystoreType.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.keystore.keystoreType.lhelp\ }' keyAlias = '{\ *value:JKS,\ *help:%lang/action.tom.en/httpconn.ssl.keystore.keyAlias.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.keystore.keyAlias.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.ssl.keystore.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.keystore.lhelp\ }' /> <truststore truststoreFile = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.ssl.truststore.truststoreFile.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.truststore.truststoreFile.lhelp\ }' truststorePass = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.ssl.truststore.truststorePass.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.truststore.truststorePass.lhelp\ }' truststoreType = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.ssl.truststore.truststoreType.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.truststore.truststoreType.lhelp\ }' __wk__ = '{\ *le:1,\ *help:%lang/action.tom.en/httpconn.ssl.truststore.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.truststore.lhelp\ }' /> <extended algorithm = '{\ *help:%lang/action.tom.en/httpconn.ssl.extended.algorithm.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.extended.algorithm.lhelp\ }' allowUnsafeLegacyRenegotiation = '{\ *help:%lang/action.tom.en/httpconn.ssl.extended.allowUnsafeLegacyRenegotiation.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.extended.allowUnsafeLegacyRenegotiation.lhelp\ }' __wk__ = '{\ *le:1,\ *display:False,\ *help:%lang/action.tom.en/httpconn.ssl.extended.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.extended.lhelp\ }' > <ciphers __wk__ = '{\ *le:1,\ *display:False,\ *help:%lang/action.tom.en/httpconn.ssl.extended.ciphers.help,\ *lhelp:%lang/action.tom.en/httpconn.ssl.extended.ciphers.lhelp\ }' > </ciphers> </extended> </ssl> </httpconn> A descriptor file is a WYSISWYG xsd like schema, wich describes what are the supported Tags, Attributes and Attributes values for one Action. The special Attributes : type, sub_type, bal, softwares, __wk__ are reserved by Kikonf. The table below summarizes the informations provided by the tom.httpconn Descriptor File : /httpconn>   Configure an HTTP connector.
/httpconn/scope>   A scope refers to configuration Level within the Tomcat scheme. Required:True
/httpconn/timeouts>   %lang/action.tom.en/httpconn.timeouts.help
/httpconn/sizes>   %lang/action.tom.en/httpconn.sizes.help
/httpconn/methods>   %lang/action.tom.en/httpconn.methods.help
/httpconn/pools>   %lang/action.tom.en/httpconn.pools.help
/httpconn/ssl>   Configure the Tomcat SSL support for JSSE.
/httpconn/ssl/keystore>   %lang/action.tom.en/httpconn.ssl.keystore.help
/httpconn/ssl/truststore>   %lang/action.tom.en/httpconn.ssl.truststore.help
Trademarks :
|