mirror of https://github.com/apache/lucene.git
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
This commit is contained in:
parent
2b82b8abc9
commit
d06948412d
|
@ -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
|
||||
|
|
|
@ -67,4 +67,10 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue