From d06948412d8247c3df13ff0c2f9301045e43a14a Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Mon, 11 Dec 2006 20:30:02 +0000 Subject: [PATCH] per suggestion on solr-user, added a mime-mapping for .xsl files to the web.xml so that the mime-type will be set correctly even if the servlet container doesn't have one configured. used application/xslt+xml instead of application/xml based on W3C XSLT recommendation since 2003/May ... tested in Firefox2 and IE6 git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@485856 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 2 ++ src/webapp/WEB-INF/web.xml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index b99f40bccd7..25dc916ac8a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -170,5 +170,7 @@ Other Changes 12. Added new numeric build property "specversion" to allow clean MANIFEST.MF files (hossman) 13. Added Solr/Lucene versions to "Info" page (hossman) +14. Explicitly set mime-type of .xsl files in web.xml to + application/xslt+xml (hossman) 2006/01/17 Solr open sourced, moves to Apache Incubator diff --git a/src/webapp/WEB-INF/web.xml b/src/webapp/WEB-INF/web.xml index 1b997a62e29..9e937324e92 100644 --- a/src/webapp/WEB-INF/web.xml +++ b/src/webapp/WEB-INF/web.xml @@ -66,5 +66,11 @@ ping /admin/ping + + + .xsl + + application/xslt+xml +