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 Chris Morley <ch...@depahelix.com> on 2016/08/25 19:27:16 UTC

changing the /solr path, additional steps needed for 6.1

This might help some people:
  
 To change the URL to server:port/ourspecialpath from server:port/solr is a 
bit inconvenient.  You have to change several files where the solr part of 
the request path is hardcoded:
  
 server/solr-webapp/webapp/WEB-INF/web.xml
 server/solr/solr.xml
 server/contexts/solr-jetty-context.xml
  
 Now, with the release of the New UI defaulted to on in 6.1, you also have 
to change:
 server/solr-webapp/webapp/js/angular/services.js
 (in a bunch of places)
  
 -Chris.
  
  


Re: changing the /solr path, additional steps needed for 6.1

Posted by John Bickerstaff <jo...@johnbickerstaff.com>.
Bless you Chris!  And if you were local, I'd buy you a beer!

This was a big help - I was trying to figure this one out.

On Thu, Aug 25, 2016 at 1:27 PM, Chris Morley <ch...@depahelix.com> wrote:

> This might help some people:
>
>  To change the URL to server:port/ourspecialpath from server:port/solr is a
> bit inconvenient.  You have to change several files where the solr part of
> the request path is hardcoded:
>
>  server/solr-webapp/webapp/WEB-INF/web.xml
>  server/solr/solr.xml
>  server/contexts/solr-jetty-context.xml
>
>  Now, with the release of the New UI defaulted to on in 6.1, you also have
> to change:
>  server/solr-webapp/webapp/js/angular/services.js
>  (in a bunch of places)
>
>  -Chris.
>
>
>
>