lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solr2020 <psgoms...@gmail.com>
Subject Re: Adding virtual host in Jetty (Solr deployed)
Date Thu, 01 Feb 2018 13:54:43 GMT
We have added virtualHosts block in solr-jetty-context.xml file under
/opt/solr/server/contexts and then restarted solr(jetty). After this while
trying to access solr using the url  http://www.host.com:8983/solr 
it says site can't be reached.
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot;
&quot;http://www.eclipse.org/jetty/configure_9_0.dtd&quot;>
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath"><Property name="hostContext"
default="/solr"/></Set>  
  <Set name="war"><Property name="jetty.base"/>/solr-webapp/webapp</Set>
  <Set name="defaultsDescriptor"><Property
name="jetty.base"/>/etc/webdefault.xml</Set>
  <Set name="extractWAR">false</Set>
    <Set name="virtualHosts">
    <Array type="java.lang.String">
         <Item>10.x.x.x</Item>    
	  <Item>test</Item>	  
	  <Item>www.host.com</Item>	  
    </Array>
  </Set>
</Configure>



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message