source: gs3-extensions/solr/trunk/src/solr-tomcat-context.xml.in@ 31886

Last change on this file since 31886 was 30088, checked in by ak19, 9 years ago

The current solr tomcat context file's IP regex was insufficient to make the /solr context available off localhost on a mac. Dr Bainbridge fixed it. Now we can successfully rebuild a solr collection on a Mac again.

File size: 725 bytes
Line 
1<Context docBase="@tomcathome@/webapps/solr.war"
2 debug="0"
3 crossContext="true"
4 privileged="true">
5 <Environment name="solr/home" type="java.lang.String" value="@gsdl3webhome@/ext/solr" override="true" />
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\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1(%\d)?@IPv4@)"/>
12
13</Context>
Note: See TracBrowser for help on using the repository browser.