Ignore:
Timestamp:
2023-04-05T21:30:30+12:00 (14 months ago)
Author:
davidb
Message:

Some extra comments woven in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/servlets.xml

    r37411 r37609  
    88        <param-value>library</param-value>
    99    </init-param>
    10        
    11         <!-- If you are using a non-custom url, eg www.greenstone.org/greenstone3/library, add it here
    12              It should start with // (not http) and end with /
    13              It's everything not including the servlet name specified above -->
    14         <!--
     10
     11    <!--
     12         Production versions of Greenstone will typically need to set 'init-param' valus below if
     13         the DL operates through a Reverse Proxy server, such as Apache2, which publically presents
     14         externally over 'https' but internally routes things through to an http running instance
     15         of tomcat providing Greenstone3.
     16
     17         For example, to have a Greenstone3 appear as:
     18             https://mydomain.org/my-greenstone3/library
     19
     20         In your Apache2 configuration file include:
     21
     22                 ProxyPass        /my-greenstone3 http://localhost:8383/greenstone3
     23         ProxyPassReverse /my-greenstone3 http://localhost:8383/greenstone3
     24         <Location /my-greenstone3>
     25             ProxyPassReverseCookiePath /greenstone3 /my-greenstone3
     26         </Location>
     27
     28             The <Location> tags future proof things for the case where you run more than one
     29         Greenstone3 on the same server.  This can just be the ProxyPassReverseCookiePath
     30         entry, if there is only one GS3 server running.
     31
     32         In the params below we break things down into constituent parts to make some of the
     33         XSL template rules easier to write.
     34    -->
     35
     36    <!--
     37         Leave the following commented out if you are using http://localhost:8383/greenstone3/
     38         as this is construted automatically from build.properties for use as the HTML <base> tag
     39    -->
     40    <!-- **** TODO: consider changing this to be built up from servlet_domain, servlet_opt_port, servlet_context / -->
    1541        <init-param>
    1642          <param-name>servlet_url_prefix</param-name>
    17           <param-value>//www.greenstone.org/greenstone3/</param-value>
    18     </init-param>
    19         -->
     43          <param-value>//mydomain.org//my-greenstone3/</param-value>
     44    </init-param>
     45   
    2046    <init-param>
    2147        <param-name>site_name</param-name>
     
    75101    -->
    76102   
    77     <!-- For Google Authenticated Signin, need to specify the client-id (*not* the secret one)
     103    <!-- For Google Authenticated Signin, need to specify the client-id (*not* the secret one) -->
     104    <!-- More details at: https://developers.google.com/identity/sign-in/web/sign-in -->
    78105    <init-param>
    79106          <param-name>googlesignin_client_id</param-name>
Note: See TracChangeset for help on using the changeset viewer.