- Timestamp:
- 2024-03-26T13:51:58+13:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/resources/tomcat/server_tomcat8.xml.svn
r33992 r38877 15 15 See the License for the specific language governing permissions and 16 16 limitations under the License. 17 -->17 --> 18 18 <!-- GSDL: Notes 19 19 To turn a new default 'tomcatN.x.yy/conf/server.xml' into a server_tomcatN.xml.svn … … 43 43 <Listener className="org.apache.catalina.security.SecurityListener" /> 44 44 --> 45 <!-- APR library loader. Documentation at /docs/apr.html -->45 <!-- APR library loader. Documentation at /docs/apr.html --> 46 46 <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> 47 47 <!-- Prevent memory leaks due to use of particular java/javax APIs--> … … 85 85 Define a non-SSL/TLS HTTP/1.1 Connector on port @localhost.port.http@ 86 86 --> 87 <!-- GSDL: We comment out the 'standard' connector in favour of the tomcatThreadPool one blow --> 88 <!-- GSDL: URIEncoding of UTF-8 param also added --> 89 <!-- 87 <!-- GSDL: We comment out the 'standard' connector in favour of the tomcatThreadPool one below --> 88 <!-- GSDL: URIEncoding of UTF-8 param also added, and @http.address.restriction@ --> 89 <!-- 90 90 91 <Connector @http.address.restriction@ 91 port="@localhost.port.http@" 92 port="@localhost.port.http@" protocol="HTTP/1.1" 92 93 connectionTimeout="20000" 93 94 redirectPort="@https.redirect.port@" 94 URIEncoding="UTF-8" /> 95 maxParameterCount="1000" 96 URIEncoding="UTF-8" 97 /> 95 98 --> 96 99 <!-- A "Connector" using the shared thread pool--> 97 <!-- GSDL: Additional params added after redirectPort --> 100 <!-- GSDL: We use this Connector by default. Add @http.address.restriction@ 101 Additional params added after redirectPort --> 98 102 <Connector executor="tomcatThreadPool" @http.address.restriction@ 99 103 port="@localhost.port.http@" protocol="HTTP/1.1" 100 104 connectionTimeout="20000" 101 105 redirectPort="@https.redirect.port@" 102 compression="on" 106 maxParameterCount="1000" 107 compression="on" 103 108 compressionMinSize="524288" 104 109 compressableMimeType="text/html,text/xml,text/css,text/xsl,text/javascript" 105 110 noCompressionUserAgents="gozilla, traviata" 106 URIEncoding="UTF-8" /> 111 URIEncoding="UTF-8" 112 /> 113 107 114 <!-- Define an SSL/TLS HTTP/1.1 Connector on port @https.redirect.port@ 108 115 This connector uses the NIO implementation. The default 109 116 SSLImplementation will depend on the presence of the APR/native 110 library and the useOpenSSL attribute of the 111 AprLifecycleListener. 117 library and the useOpenSSL attribute of the AprLifecycleListener. 112 118 Either JSSE or OpenSSL style configuration may be used regardless of 113 119 the SSLImplementation selected. JSSE style configuration is used below. … … 115 121 <!-- GSDL: URIEncoding param added, but note the connector elem itself is commented out by default --> 116 122 <!-- 123 <!-- 117 124 <Connector port="@https.redirect.port@" protocol="org.apache.coyote.http11.Http11NioProtocol" 118 maxThreads="150" SSLEnabled="true" URIEncoding="UTF-8"> 125 maxThreads="150" SSLEnabled="true" 126 maxParameterCount="1000" 127 URIEncoding="UTF-8" 128 > 119 129 <SSLHostConfig> 120 130 <Certificate certificateKeystoreFile="conf/localhost-rsa.jks" … … 132 142 <!-- 133 143 <Connector port="@https.redirect.port@" protocol="org.apache.coyote.http11.Http11AprProtocol" 134 maxThreads="150" SSLEnabled="true" URIEncoding="UTF-8"> 144 maxThreads="150" SSLEnabled="true" 145 maxParameterCount="1000" 146 URIEncoding="UTF-8" 147 > 135 148 <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /> 136 149 <SSLHostConfig> … … 150 163 clientAuth="false" sslProtocol="TLS" 151 164 keystoreType="@keystore.type@" 165 maxParameterCount="1000" 152 166 URIEncoding="UTF-8" /> 153 167 @https.comment.out.end@ 154 168 155 169 <!-- Define an AJP 1.3 Connector on port @tomcat.ajp.port@ --> 170 <!-- GSDL: URIEncoding param added, but note the connector elem itself is commented out by default --> 156 171 <!-- 157 172 <Connector protocol="AJP/1.3" 158 173 address="::1" 159 port="@tomcat.ajp.port@" 174 port="@tomcat.ajp.port@" 160 175 redirectPort="@https.redirect.port@" 161 URIEncoding="UTF-8" /> 176 maxParameterCount="1000" 177 URIEncoding="UTF-8" 178 /> 162 179 --> 163 180
Note:
See TracChangeset
for help on using the changeset viewer.