Ignore:
Timestamp:
2024-03-26T13:51:58+13:00 (3 months ago)
Author:
kjdon
Message:

updated these to match tomcat 5.8.99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/resources/tomcat/server_tomcat8.xml.svn

    r33992 r38877  
    1515  See the License for the specific language governing permissions and
    1616  limitations under the License.
    17 -->
     17  -->
    1818<!-- GSDL: Notes
    1919  To turn a new default 'tomcatN.x.yy/conf/server.xml' into a server_tomcatN.xml.svn
     
    4343  <Listener className="org.apache.catalina.security.SecurityListener" />
    4444  -->
    45   <!--APR library loader. Documentation at /docs/apr.html -->
     45  <!-- APR library loader. Documentation at /docs/apr.html -->
    4646  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
    4747  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
     
    8585         Define a non-SSL/TLS HTTP/1.1 Connector on port @localhost.port.http@
    8686    -->
    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   
    9091    <Connector @http.address.restriction@
    91                port="@localhost.port.http@"  protocol="HTTP/1.1"
     92               port="@localhost.port.http@" protocol="HTTP/1.1"
    9293               connectionTimeout="20000"
    9394               redirectPort="@https.redirect.port@"
    94                URIEncoding="UTF-8" />
     95               maxParameterCount="1000"
     96               URIEncoding="UTF-8"
     97               />
    9598    -->
    9699    <!-- 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 -->
    98102    <Connector executor="tomcatThreadPool" @http.address.restriction@
    99            port="@localhost.port.http@" protocol="HTTP/1.1"
     103               port="@localhost.port.http@" protocol="HTTP/1.1"
    100104               connectionTimeout="20000"
    101105               redirectPort="@https.redirect.port@"
    102            compression="on"
     106               maxParameterCount="1000"
     107               compression="on"
    103108           compressionMinSize="524288"
    104109           compressableMimeType="text/html,text/xml,text/css,text/xsl,text/javascript"
    105110           noCompressionUserAgents="gozilla, traviata"
    106                URIEncoding="UTF-8" />
     111               URIEncoding="UTF-8"
     112               />
     113   
    107114    <!-- Define an SSL/TLS HTTP/1.1 Connector on port @https.redirect.port@
    108115         This connector uses the NIO implementation. The default
    109116         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.
    112118         Either JSSE or OpenSSL style configuration may be used regardless of
    113119         the SSLImplementation selected. JSSE style configuration is used below.
     
    115121    <!-- GSDL: URIEncoding param added, but note the connector elem itself is commented out by default -->
    116122    <!--
     123    <!--
    117124    <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               >
    119129        <SSLHostConfig>
    120130            <Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
     
    132142    <!--
    133143    <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               >
    135148        <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
    136149        <SSLHostConfig>
     
    150163            clientAuth="false" sslProtocol="TLS"
    151164            keystoreType="@keystore.type@"
     165            maxParameterCount="1000"
    152166            URIEncoding="UTF-8" />
    153167    @https.comment.out.end@
    154168
    155169    <!-- 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 -->
    156171    <!--
    157172    <Connector protocol="AJP/1.3"
    158173               address="::1"
    159                port="@tomcat.ajp.port@"       
     174               port="@tomcat.ajp.port@"
    160175               redirectPort="@https.redirect.port@"
    161                URIEncoding="UTF-8" />
     176               maxParameterCount="1000"
     177               URIEncoding="UTF-8"
     178               />
    162179    -->
    163180
Note: See TracChangeset for help on using the changeset viewer.