Ignore:
Timestamp:
2018-09-10T17:52:23+12:00 (6 years ago)
Author:
ak19
Message:

On windows, need to do a little more work to stop tomcat when we run it on port 80 for https certification: need to set local.http.url to the base url over port 80 before calling ant stop and ant start, because the local.http.url is what's used to check whether tomcat is already running or stopped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r32436 r32437  
    17361736        <param name="localhost.port.http" value="80"/>
    17371737        <param name="default.tomcat.port" value="80"/>
     1738        <param name="local.http.url" value="http://${localhost.server.http}"/><!-- For port 80 over http, leave out port number in URL -->
    17381739        <param name="http.address.restriction" value=""/><!-- don't prevent public access over http of port 80 -->
    17391740        <param name="https.comment.out.start" value="${comment.start}"/>
     
    17761777        <param name="localhost.port.http" value="80"/>
    17771778        <param name="default.tomcat.port" value="80"/>
     1779        <param name="local.http.url" value="http://${localhost.server.http}"/><!-- For port 80 over http, leave out port number in URL -->
    17781780        <param name="http.address.restriction" value=""/>
    17791781        <param name="https.comment.out.start" value="${comment.start}"/>
Note: See TracChangeset for help on using the changeset viewer.