📄 config-index.xtp
字号:
<title>Alphabetical Configuration Index</title><ul><li><a href="http-config.xtp#access-log">access-log</a> -Configures logging of HTTP requests. Allowed in host and resin-server.<li><a href="app-config.xtp#allow-admin">allow-admin</a> -Allows administration from the web-app. Must be configured in resin.conf.<li><a href="app-config.xtp#allow-servlet-el">allow-servlet-el</a> -Allows JSP EL expressions servlet configuration.<li><a href="http-config.xtp#alternate-session-url-prefix">alternate-session-url-prefix</a> -Configures an alternate format for session URL-rewriting which may bemore suitable for wireless devices.<li><a href="app-config.xtp#app-dir">app-dir</a> -Configures the application directory for web-app, host or http-server.<li><a href="app-config.xtp#jsp">auto-compile</a> -In <jsp>, if false, changes in .jsp files will not force an autocompile.<li><a href="app-config.xtp#browser-mapping">browser-mapping</a> -Downgrades to HTTP/1.0 for certain broken browsers.Allowed in a web-app.<li><a href="http-config.xtp#cache">cache</a> -Enables Resin's internal proxy cache.<li><a href="app-config.xtp#cache-mapping">cache-mapping</a> -Specifies the Expires time to use for cacheable servlets that specifya Last-Modified or ETag header, but don't specify Expires. Allowed in web-app.<li><a href="app-config.xtp#case-sensitive">case-sensitive</a> -Determines if url-patterns are case-sensitive.<!--<li><a href="port-config.xtp#ca-certificate-path">ca-certificate-path</a> -Specifies the OpenSSL CA certificate path to be used for SSL.<li><a href="port-config.xtp#ca-certificate-path">ca-certificate-file</a> -Specifies the OpenSSL CA certificate file to be used for SSL.<li><a href="port-config.xtp#ca-revocation-path">ca-revocation-path</a> -Specifies the OpenSSL CA revocation path to be used for SSL.<li><a href="port-config.xtp#ca-revocation-path">ca-revocation-file</a> -Specifies the OpenSSL CA revocation file to be used for SSL.--><li><a href="port-config.xtp#certificate-chain-file">certificate-chain-file</a> -Specifies the OpenSSL certificate chain file to be used for SSL.<li><a href="port-config.xtp#certificate-file">certificate-file</a> -Specifies the OpenSSL certificate file to be used for SSL.<li><a href="port-config.xtp#certificate-key-file">certificate-key-file</a> -Specifies the OpenSSL certificate key file to be used for SSL.<li><a href="port-config.xtp#certificate-key-password">certificate-key-password</a> -Specifies the OpenSSL certificate key password for SSL.<li><a href="app-config.xtp#chain-mapping">chain-mapping</a> -Maps a mime-type to a servlet to be used to filter the output of aservlet. Allowed in web-app.<li><a href="app-config.xtp#character-encoding">character-encoding</a> -Defines the default character-encoding to use for forms.<li><a href="app-config.xtp#classpath">classpath</a> -Adds dynamic class directories, jars, and jar library directories tothe application. Allowed in web-app, host, or http-server.<li><a href="resin-config.xtp#java">classpath</a> -Configures additional classpath values when automatically compilingjava code.<li><a href="app-config.xtp#class-update-interval">class-update-interval</a> -Specifies how often the web-app should check classes, java source, andconfiguration files to see if the web-app needs reloading.<li><a href="app-config.xtp#classpath">compile</a> -Specifies whether a <classpath> should automatically compile Javafiles.<li><a href="resin-config.xtp#java">compiler</a> -Specifies the Javac compiler to use for any automatic compilation.<li><a href="resin-config.xtp#java">compiler-args</a> -Specifies any additional javac arguments for automatic compilatoin.<li><a href="app-config.xtp#config-update-interval">config-update-interval</a> -Specifies how often a web-app should check its configuration file.<li><a href="security.xtp#constraint">constraint</a> -Defines a custom security constraint extendingcom.caucho.http.security.AbstractConstraint.<li><a href="app-config.xtp#context-param">context-param</a> -Specifies a ServletContext init parameter. Allowed in web-app.<li><a href="app-config.xtp#cookie-length">cookie-length</a> -Limits the length of the cookie generated for session ids.<li><a href="port-config.xtp#crypto-device">crypto-device</a> -For OpenSSL with an SSL engine, specifies the crypto-device.<li><a href="port-config.xtp#dead-time">dead-time</a> -For load balancing, how long the server should treat a dead serveras dead before retrying it.<li><a href="app-config.xtp#directory-servlet">directory-servlet</a> -Specifies the servlet to use for directory listing or none to disabledirectory listing.<li><a href="http-config.xtp#doc-dir">doc-dir</a> -Specified the document directory for a virtual host.<li><a href="app-config.xtp#ejb-ref">ejb-ref</a> -Configures an EJB client bean. Rarely used. Normally,<a href="app-config.xtp#jndi-link">jndi-link</a> will be used instead.<li><a href="app-config.xtp#env-entry">env-entry</a> -Specifies a JNDI initial value, often a String or Integer.<li><a href="app-config.xtp#error-log">error-log</a> -Configures the file to be used for servlet error messages. Allowed inweb-app and host.<li><a href="app-config.xtp#error-page">error-page</a> -Specifies a page to be used when a servlet returns an error code orthrows an exception. Allowed in web-app.<li><a href="http-config.xtp#forbid-host">forbid-host</a> -A list of host which should be forbidden access. Allowed in <http-server><li><a href="http-config.xtp#global-system-properties">global-system-properties</a> -If true, System.getProperty calls are shared across all virtual hosts andweb-apps. Allowed in <http-server><li><a href="http-config.xtp#host">host</a> -Defines a virtual host.<li><a href="port-config.xtp#http">http</a> -Configures a single TCP port listening with the HTTP protocol.<li><a href="http-config.xtp#http-server">http-server</a> -A single container tag for all http/servlet configuration.Allowed in <caucho.com><li><a href="http-config.xtp#ignore">ignore-client-disconnect</a> -If true, exceptions caused by the browser disconnecting are ignored.Allowed in http-server.<li><a href="port-config.xtp#server">server</a> -Configures a custom protocol server.<li><a href="app-config.xtp#session-config">ignore-serialization-errors</a> -When serializing a session, skip any values which don't implement java.io.Serializable. In session-config.<li><a href="servlet-config.xtp#init-param">init-param</a> -Initialization parameter. Used for servlets and for resourcesto configure bean properties.<li><a href="resin-config.xtp#java">java</a> -Configures the Java compiler.<li><a href="app-config.xtp#jdbc-store">jdbc-store</a> -Configures persistent sessions to use a JDBC store.<li><a href="app-config.xtp#jndi-link">jndi-link</a> -Adds a foreign JNDI tree to the web-app tree. Used for EJB clients.<li><a href="app-config.xtp#jsp">jsp</a> -Configures JSP specific configuration.<li><a href="app-config.xtp#lazy-load">lazy-init</a> -Initialize the application on the first request instead of when the serverstarts.<li><a href="resin-config.xtp#java">log</a> -Configures Resin's debug log.<li><a href="port-config.xtp#live-time">live-time</a> -For load balancing, how long the server should keep anidle srun connection open before closing it.<li><a href="app-config.xtp#login-config">login-config</a> -Configures user login.<li><a href="app-config.xtp#mime-mapping">mime-mapping</a> -Adds content-type mapping based on file extensions.<li><a href="app-config.xtp#multipart-form">multipart-form</a> -Enables the multipart/mime for HTML forms.<li><a href="app-config.xtp#path-mapping">path-mapping</a> -Maps url patterns to real paths.<li><a href="http-config.xtp#ping">ping</a> -Defines a thread to periodically ping the server with a HTTP requestand restart the server if the ping fails.<li><a href="port-config.xtp#port">port</a> -Specifies the port Resin should listen to.<li><a href="app-config.xtp#jsp">precompile</a> -In <jsp>, use precompiled JSP classes if available.<li><a href="resin-config.xtp#include">resin:include</a> -Includes an XML file into the current configuration.<li><a href="resin-config.xtp#include-directory">resin:include-directory</a> -Includes matching XML files in a directory into the current configuration.<li><a href="app-config.xtp#invalidate-after-listener">invalidate-after-listener</a> -If true, listeners are called before the session invalidation.<li><a href="app-config.xtp#resource-ref">resource-ref</a> -Resource configuration: <a href="db-config.xtp">database</a>, JMS, EJB.<li><a href="http-config.xtp#request-timeout">request-timeout</a> -Time in seconds before a keepalive request times out. Allowedin http-server.<li><a href="resin-config.xtp#jsp">require-source</a> -When checking JSP files for update, checks if the JSP file has been deleted.<li><a href="app-config.xtp#session-config">reuse-session-id</a> -If false, generate a new session id when the old one does not exist.<li><a href="http-config.xtp#root-dir">root-dir</a> -Specified the root directory for a virtual host.<li><a href="servlet-config.xtp#run-at">run-at</a> -Executes a servlet at specified times. Allowed in servletand servlet-mappnig.<li><a href="app-config.xtp#secure">secure</a> -Requires that the web-app be accessed from a secure connection, e.g. SSL.Allowed in <host> or <web-app>.<li><a href="resin-config.xtp#security-manager">security-manager</a> -Enable the JDK's security manager.<li><a href="http-config.xtp#server-name">server-name</a> -Configures the canonical name (URL) for the host. Allowed in <host>.<li><a href="http-config.xtp#server-listener">server-listener</a> -Configures an event listener when the server starts and stops. Allowedin resin-server.<li><a href="servlet-config.xtp#servlet">servlet</a> -Defines a servlet. Allowed in web-app.<li><a href="servlet-config.xtp#servlet-class">servlet-class</a> -Specifies the class for a servlet.<li><a href="servlet-config.xtp#servlet-name">servlet-name</a> -Specifies a name for a servlet configuration.<li><a href="servlet-config.xtp#servlet-mapping">servlet-mapping</a> -Configures the mapping from URLs to servlets. Allowed in web-app.<li><a href="http-config.xtp#servlet-classloader-hack">servlet-classloader-hack</a> - Enables the Servlet 2.3 spec classloader hack.<li><a href="app-config.xtp#session-config">session-config</a> -Configures sessions for a web-app.<li><a href="http-config.xtp#session-cookie">session-cookie</a> -Changes the session cookie (default 'JSESSIONID').<li><a href="http-config.xtp#session-url-prefix">session-url-prefix</a> -Changes the session rewriting prefix (default ';jsessionid=').<li><a href="app-config.xtp#session-timeout">session-timeout</a> -Configures the maximum time for a session.<li><a href="app-config.xtp#session-max">session-max</a> -Configures the maximum number of active sessions.<li><a href="http-config.xtp#sticky-sessions">sticky-sessions</a> -Enables or disables sticky sessions for the load balancer.<li><a href="port-config.xtp#srun">srun</a> -Configures a TCP port listening with the Resinservlet runner (srun) protocol.<li><a href="port-config.xtp#srun-backup">srun-backup</a> -Configures a TCP port listening with the Resinservlet runner (srun) protocol, used as a backup in load-balancing.<li><a href="port-config.xtp#ssl">ssl</a> -Configures an http or srun with SSL support.<li><a href="port-config.xtp#sslv2">sslv2</a> -Configures an SSL port to allow the SSL v2 protocol.<li><a href="port-config.xtp#sslv3">sslv3</a> -Configures an SSL port to allow the SSL v3 protocol.<li><a href="app-config.xtp#jsp">static-encoding</a> -In <jsp>, if true, precompiles the i18n char to byte conversion.<li><a href="app-config.xtp#stderr-log">stderr-log</a> -Configures the location for System.err for the current web-app, host orhttp-server.<li><a href="app-config.xtp#stdout-log">stdout-log</a> -Configures the location for System.out for the current web-app, host orhttp-server.<li><a href="app-config.xtp#strict-mapping">strict-mapping</a> -Forces the url-mapping to disallow path-info for *.jsp<li><a href="app-config.xtp#taglib">taglib</a> -Configures the JSP tag library.<li><a href="app-config.xtp#tcp-store">tcp-store</a> -Configure sessions to use a TCP-ring backing store.<li><a href="app-config.xtp#temp-dir">temp-dir</a> -Application temp directory. This is the path used in<var/javax.servlet.context.tempdir/>.<li><a href="http-config.xtp#thread-keepalive">thread-keepalive</a> -Configures the number of threads which can be used wait for keepaliverequest. Allowed in http-server, http, srun, and srun-backup.<li><a href="http-config.xtp#thread-max">thread-max</a> -Specifies the maximum threads allowed for a port.Allowed in http-server, http, srun, and srun-backup.<li><a href="port-config.xtp#tlsv1">tlsv1</a> -Configures an SSL port to allow the TLS v1 protocol.<li><a href="http-config.xtp#url-character-encoding">url-character-encoding</a> -Specifies the character encoding for decoding the URL.<li><a href="http-config.xtp#url-length-max">url-length-max</a> -Specifies the maximum length allowed for the HTTP URL.<li><a href="app-config.xtp#url-pattern">url-pattern</a> -Matches a set of URLs for servlet-mapping and filter-mapping.<li><a href="port-config.xtp#verify-client">verify-client</a> -Configures whether SSL should verify the client certificate.<li><a href="http-config.xtp#war-dir">war-dir</a> -Defines a directory where *.war files are automatically expanded.<li><a href="http-config.xtp#war-expand-dir">war-expand-dir</a> -Defines the destination directory where the *.war file will be expanded to.<li><a href="http-config.xtp#web-app">web-app</a> -Define a web application. Allowed in <host>.<li><a href="app-config.xtp#web-xml">web-xml</a> -Specifies an alternate location for the web.xml file.<li><a href="app-config.xtp#welcome-file-list">welcome-file-list</a> -Sets the files to use for a directory display, e.g. index.jsp, index.html.<li><a href="app-config.xtp#work-dir">work-dir</a> -The directory for generated *.java and *.class, e.g. for JSP generation.</ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -