Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Enlighted by Hoss' question, clarify a bit more about nesting Solr within a larger web application

Erik Hatcherf0f2b8868076
diff --git a/src/webapp/web/WEB-INF/web.xml b/src/webapp/web/WEB-INF/web.xml
index 3b1859e150a..4ddb9f6f292 100644
--- a/src/webapp/web/WEB-INF/web.xml
+++ b/src/webapp/web/WEB-INF/web.xml
@@ -40,6 +40,16 @@
You will need to put this prefix in front of the SolrDispatchFilter
url-pattern mapping too (/solr/*), and also on any paths for
legacy Solr servlet mappings you may be using.
+ For the admin JSP's to work properly in a path-prefixed configuration,
+ the admin folder containing the JSPs needs to be under the app context root
+ named to match the path-prefix. For example:
+
+ .war
+ xxx
+ admin
+ stats.jsp
+ -->
+ <!--
<init-param>
<param-name>path-prefix</param-name>
<param-value>/xxx</param-value>