You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ho...@apache.org on 2006/12/11 21:30:03 UTC
svn commit: r485856 - in /incubator/solr/trunk: CHANGES.txt
src/webapp/WEB-INF/web.xml
Author: hossman
Date: Mon Dec 11 12:30:02 2006
New Revision: 485856
URL: http://svn.apache.org/viewvc?view=rev&rev=485856
Log:
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
Modified:
incubator/solr/trunk/CHANGES.txt
incubator/solr/trunk/src/webapp/WEB-INF/web.xml
Modified: incubator/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/CHANGES.txt?view=diff&rev=485856&r1=485855&r2=485856
==============================================================================
--- incubator/solr/trunk/CHANGES.txt (original)
+++ incubator/solr/trunk/CHANGES.txt Mon Dec 11 12:30:02 2006
@@ -170,5 +170,7 @@
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
Modified: incubator/solr/trunk/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/webapp/WEB-INF/web.xml?view=diff&rev=485856&r1=485855&r2=485856
==============================================================================
--- incubator/solr/trunk/src/webapp/WEB-INF/web.xml (original)
+++ incubator/solr/trunk/src/webapp/WEB-INF/web.xml Mon Dec 11 12:30:02 2006
@@ -66,5 +66,11 @@
<servlet-name>ping</servlet-name>
<url-pattern>/admin/ping</url-pattern>
</servlet-mapping>
+
+ <mime-mapping>
+ <extension>.xsl</extension>
+ <!-- per http://www.w3.org/TR/2006/PR-xslt20-20061121/ -->
+ <mime-type>application/xslt+xml</mime-type>
+ </mime-mapping>
</web-app>