You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2016/04/16 02:53:25 UTC

[jira] [Created] (SOLR-9000) New Admin UI hardcodes /solr context and fails when it changes

Alexandre Rafalovitch created SOLR-9000:
-------------------------------------------

             Summary: New Admin UI hardcodes /solr context and fails when it changes
                 Key: SOLR-9000
                 URL: https://issues.apache.org/jira/browse/SOLR-9000
             Project: Solr
          Issue Type: Bug
          Components: UI
    Affects Versions: 6.0
            Reporter: Alexandre Rafalovitch


If the solr context is changed from */solr* to any other value (e.g. */solr6_0/instance/solr1*), the new Admin UI does not work as it still tries to load resources from */solr* prefix:

The context is changed by editing server/contexts/solr-jetty-context.xml:

 bq. <Set name="contextPath"><Property name="hostContext" default="/solr6_0/instance/solr1"/></Set>

and by changing redirect in the server/etc/jetty.xml

{quote}
    <New class="org.eclipse.jetty.rewrite.handler.RedirectRegexRule">
      <Set name="regex">^/$</Set>
      <Set name="replacement">/solr6_0/instance/solr1/</Set>
     </New>
{quote}

This affects New Admin UI, as well as both links between the UIs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org