root/gs3-extensions/solr/trunk/src/solr-tomcat-context.xml.in @ 29723

Revision 29723, 310 bytes (checked in by ak19, 4 years ago)

Georgy suggested limiting access to the /solr servlet to just localhost. This was his solution.

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="@gsdl3home@/ext/solr" override="true" />
6  <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1"/>
7</Context>
Note: See TracBrowser for help on using the browser.