title: Configuring shardsWhitelist in Solr 6.6
body: <p>Need help to configure shardsWhitelist in Solr 6.6. I have the below line in Solr.xml</p>
  
  <pre><code>&lt;str name="shardsWhitelist"&gt;${solr.shardsWhitelist:}&lt;/str&gt;
  </code></pre>
  
  <p>And I added the following in solrconfig.xml</p>
  
  <pre><code>  &lt;requestHandler name="/select" class="solr.SearchHandler"&gt;
       &lt;shardHandler class="HttpShardHandlerFactory"&gt;
          &lt;int name="socketTimeOut"&gt;1000&lt;/int&gt;
          &lt;int name="connTimeOut"&gt;5000&lt;/int&gt;
          &lt;str name="shardsWhitelist"&gt;https://&lt;URL1&gt;/solr/core0,&lt;URL2&gt;/solr/core0,&lt;URL3&gt;/solr/core0&lt;/str&gt;
       &lt;/shardHandler&gt;
  </code></pre>
  
  <p>But, I can’t get the solr to acknowledge the configuration:</p>
  
  <p>
  HttpShardHandlerFactory shardsWhitelist not configured but required (in lieu of ZkController and ClusterState) when using the 'shards' parameter. set -Dsolr.disable.shardsWhitelist=true to disable shards whitelist checks
  </p>