You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vrparekh <vr...@gmail.com> on 2013/03/20 15:29:43 UTC

change default solr url /solr to /prodsolr

Hello,

currently when we deploy, default url will be http://host:port/solr

how can i change it to http://host:port/prodsolr?

i am using jboss server.



--
View this message in context: http://lucene.472066.n3.nabble.com/change-default-solr-url-solr-to-prodsolr-tp4049339.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: change default solr url /solr to /prodsolr

Posted by Chris Hostetter <ho...@fucit.org>.
: currently when we deploy, default url will be http://host:port/solr
: 
: how can i change it to http://host:port/prodsolr?
: 
: i am using jboss server.

what you're asking about is the name, or somethings refered to as the 
"context path", of the "servlet context" for the solr applicaiton.

how you configure that is specific to your "servlet container" (ie: jboss)

in the simplest case, typically renaming hte jar is enough (solr.war -> 
solrprod.war) but depending on how your jboss server is configured, 
something more complicated may be needed.

For example, in the solr jetty configs, there is an explicit jetty 
configurable property we set to "/solr" but it can be overridden by a 
system property...

https://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/contexts/solr-jetty-context.xml?view=markup


-Hoss