DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6690>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6690

adjustment to mime type for css

           Summary: adjustment to mime type for css
           Product: Cocoon 2
           Version: 2.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: general components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


By default cocoon will serve css files with mime-type 'text/plain'.
The type should be 'text/css' as per RFC2318
(http://www.ietf.org/rfc/rfc2318.txt)

This can be corrected by adding this to cocoon's web.xml
<mime-mapping>
  <extension>css</extension>
  <mime-type>text/css</mime-type>
</mime-mapping>

According to the 2.3 servlet spec the mime-mapping element should appear
in this order in web.xml:
...,servlet-mapping*,session-config?, mime-mapping*, welcome-file-list?,...

-
nord

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to