tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/conf web.xml
Date Wed, 14 Mar 2001 22:36:43 GMT
craigmcc    01/03/14 14:36:42

  Modified:    catalina/src/conf web.xml
  Log:
  Add a mime type for DTD files so that browsers don't try to interpret them as
  HTML (due to the lack of a Content-Type header, as specified for 2.3).
  
  Revision  Changes    Path
  1.14      +4 -0      jakarta-tomcat-4.0/catalina/src/conf/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/web.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- web.xml	2001/01/29 03:40:57	1.13
  +++ web.xml	2001/03/14 22:36:36	1.14
  @@ -601,6 +601,10 @@
       <extension>swf</extension>
       <mime-type>application/x-shockwave-flash</mime-type>
     </mime-mapping>
  +  <mime-mapping>
  +    <extension>dtd</extension>
  +    <mime-type>text/plain</mime-type>
  +  </mime-mapping>
   
     <!-- Establish the default list of welcome files -->
     <welcome-file-list>
  
  
  

Mime
View raw message