diff --git a/doc/install.html b/doc/install.html index 4340f690d..e4d8fb0cb 100644 --- a/doc/install.html +++ b/doc/install.html @@ -369,21 +369,21 @@
-
- vitro.local.solr.ipaddress.mask = 127\.0\.0\.1
+ 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 =
+ 127\.0\.0\.1|0:0:0:0:0:0:0:1
-
- vitro.local.solr.ipaddress.mask = 169.254.*
+ vitro.local.solr.ipaddress.mask = 169.254.*
diff --git a/webapp/config/example.deploy.properties b/webapp/config/example.deploy.properties
index bfe4bbdb4..0160f8b92 100644
--- a/webapp/config/example.deploy.properties
+++ b/webapp/config/example.deploy.properties
@@ -46,17 +46,17 @@ webapp.name = vitro
vitro.local.solr.url = http://localhost:8080/vitrosolr
#
-# 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.
+# Restricts access to the Solr search platform. The value is a regular expression.
+# When a request is made to Solr, the IP address of the requestor must match the
+# regular expression, or the request will be rejected.
+#
+# NOTE: don't leave a space on the end of the line, unless you want it to be
+# part of the expression.
# 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 = 127\.0\.0\.1|0:0:0:0:0:0:0:1
# vitro.local.solr.ipaddress.mask = 169.254.*
-# If this expression doesn't match the IP address, you will see SolrExceptions
-# in the log.
-vitro.local.solr.ipaddress.mask = 127\.0\.0\.1,[0:]+:1[^:]*,
-
+vitro.local.solr.ipaddress.mask = 127\.0\.0\.1|[0:]+:1
#
# The location where the Vitro application will store the data that it creates.