mirror of https://github.com/apache/lucene.git
Ref Guide: Parameterize another place that uses version with solr-docs-version variable
This commit is contained in:
parent
144206db33
commit
b6427c83fa
|
@ -536,11 +536,11 @@ The `bin/solr auth enable` command makes several changes to enable Basic Authent
|
|||
----
|
||||
* Adds two lines to `bin/solr.in.sh` or `bin\solr.in.cmd` to set the authentication type, and the path to `basicAuth.conf`:
|
||||
+
|
||||
[source]
|
||||
[source,subs="attributes"]
|
||||
----
|
||||
# The following lines added by ./solr for enabling BasicAuth
|
||||
SOLR_AUTH_TYPE="basic"
|
||||
SOLR_AUTHENTICATION_OPTS="-Dsolr.httpclient.config=/path/to/solr-6.6.0/server/solr/basicAuth.conf"
|
||||
SOLR_AUTHENTICATION_OPTS="-Dsolr.httpclient.config=/path/to/solr-{solr-docs-version}.0/server/solr/basicAuth.conf"
|
||||
----
|
||||
* Creates the file `server/solr/basicAuth.conf` to store the credential information that is used with `bin/solr` commands.
|
||||
|
||||
|
|
Loading…
Reference in New Issue