NIHVIVO-2437 Make the Solr security mask a configurable property.

This commit is contained in:
j2blake 2011-07-13 21:32:48 +00:00
parent 889d6c4b31
commit 006324e6a5

View file

@ -42,11 +42,25 @@ tomcat.home = /usr/local/tomcat
webapp.name = vivo webapp.name = vivo
# #
# URL of Solr context used in local VIVO search. Should consist of # URL of Solr context used in local VIVO search. Should consist of:
# scheme + servername + port + contextpath + "solr" # scheme + servername + port + vivocontextpath + "solr"
# # In the standard installation, the Solr context will be on the same server as VIVO,
# and in the same Tomcat instance. The path will be the VIVO webapp.name (specified
# above) + "solr"
# Example:
# vitro.local.solr.url = http://localhost:8080/vivosolr
vitro.local.solr.url = http://localhost:8080/vivosolr vitro.local.solr.url = http://localhost:8080/vivosolr
#
# Restricts access to the Solr search platform. One or more regular expressions,
# separated by commas. When a request is made to Solr, the IP address of the
# requestor must match one of the patterns, or the request will be rejected.
# Examples:
# vitro.local.solr.ipaddress.mask = 127\.0\.0\.1
# vitro.local.solr.ipaddress.mask = 127\.0\.0\.1,0:0:0:0:0:0:0:1
# vitro.local.solr.ipaddress.mask = 169.254.*
vitro.local.solr.ipaddress.mask = 127\.0\.0\.1,0:0:0:0:0:0:0:1
# #
# The location where the VIVO application will store the data that it creates. # The location where the VIVO application will store the data that it creates.
# This includes uploaded files (usually images) and the search index. # This includes uploaded files (usually images) and the search index.