[
https://issues.apache.org/jira/browse/SOLR-7240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359648#comment-14359648
]
Hoss Man commented on SOLR-7240:
--------------------------------
Hmm, not sure i'm a fan of this solution actually...
it only only redirects "/" it also redirects "/anything_other_then_solr"...
http://localhost:8983/garbage -> http://localhost:8983/solr/
...this seems like a bad idea. My goal was simply to make
"http://localhost:8983/" send you someplace useful, but if people are making up
giberish URLs -- or have typos in client connection urls (eg:
"http://localhost:8983/Solr/MyCollection/select") those should really just
return 404 rather then silently rewriting to ".../solr/"
> redirect / to /solr
> --------------------
>
> Key: SOLR-7240
> URL: https://issues.apache.org/jira/browse/SOLR-7240
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Attachments: SOLR-7240.patch
>
>
> Prior to Solr 5, we avoided doing anything fancy with our jetty configs
> because we didn't want to overly customize "the example" beyond things that
> involved loading the solr.war.
> That's not longer an issue, so we might as well plop in some jetty config
> features to redirect / to /solr.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]