Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-2676: default welcome-file-list in solr.war

Chris M. Hostetterb6de525da536
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 4ab764fa1cb..1dda7847d24 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -394,6 +394,9 @@ Bug Fixes
* SOLR-2669: Fix backwards validation of field properties in
SchemaField.calcProps (hossman)
+* SOLR-2676: Add "welcome-file-list" to solr.war so admin UI works correctly
+ in servlet containers such as WebSphere that do not use a default list
+ (Jay R. Jaeger, hossman)
Other Changes
----------------------
diff --git a/solr/webapp/web/WEB-INF/web.xml b/solr/webapp/web/WEB-INF/web.xml
index 29afea60a2e..7f5f6bfe218 100644
--- a/solr/webapp/web/WEB-INF/web.xml
+++ b/solr/webapp/web/WEB-INF/web.xml
@@ -99,4 +99,9 @@
<mime-type>application/xslt+xml</mime-type>
</mime-mapping>
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
</web-app>