Ignore:
Timestamp:
2018-09-06T22:32:58+12:00 (6 years ago)
Author:
ak19
Message:

solr should only be accessible locally (from localhost, specifically 127.0.0.1) which means over http. This conflicted with the previous design of the properties file for working with http and/or https. Now we have tomcat.port.https and localhost.port.http, both always set. In place of server.protocol that used to contain the default protocol, we now have server.protocols which can be set to a comma separated list of one or both of http and https. Drastic restructuring followed. I think I've tested all but https certification stuff.

File:
1 edited

Legend:

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

    r32349 r32429  
    6868         Define a non-SSL HTTP/1.1 Connector on port @port@
    6969    -->
    70     @http.comment.out.start@
    71     <Connector executor="tomcatThreadPool"
    72            port="@tomcat.port.http@" protocol="HTTP/1.1"
     70    <Connector executor="tomcatThreadPool" @http.address.restriction@
     71           port="@localhost.port.http@" protocol="HTTP/1.1"
    7372               connectionTimeout="20000"
    7473               redirectPort="@https.redirect.port@"
     
    7978               URIEncoding="UTF-8"
    8079           />
    81     @http.comment.out.end@
    8280    <!-- A "Connector" using the shared thread pool-->
    8381    <!--
    84     <Connector executor="tomcatThreadPool"
    85                port="@tomcat.port.http@" protocol="HTTP/1.1"
     82    <Connector executor="tomcatThreadPool" @http.address.restriction@
     83               port="@localhost.port.http@" protocol="HTTP/1.1"
    8684               connectionTimeout="20000"
    8785               redirectPort="@https.redirect.port@" />
Note: See TracChangeset for help on using the changeset viewer.