Changeset 29754 for gs3-extensions

Show
Ignore:
Timestamp:
19.02.2015 19:07:10 (4 years ago)
Author:
ak19
Message:

Adding in the local remote address allowed to access the solr servlet in IPv6 form, since this the form of the address that the Windows machine here needed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/solr-tomcat-context.xml.in

    r29723 r29754  
    44     privileged="true"> 
    55  <Environment name="solr/home" type="java.lang.String" value="@gsdl3home@/ext/solr" override="true" /> 
    6   <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1"/>  
     6   
     7  <!--Access log. Already created in packages\tomcat\logs localhost_access_log.YYYY-MM-DD.txt--> 
     8  <!--<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common"/>--> 
     9   
     10  <!-- Allow this machine: 127.0.0.1 (IPv4) and 0:0:0:0:0:0:0:1 (IPv6, needed on the windows we tested this on) --> 
     11  <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="(127\.0\.0\.1|0:0:0:0:0:0:0:1)"/> 
     12   
    713</Context>