You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeremy Mates <jm...@sial.org> on 2002/08/09 22:39:11 UTC
PNG support for mod_mime_magic?
PNG support appears to be missing from the default magic files shipped
with Apache 1.3.26 (conf/magic) and 2.0.40 (docs/conf/magic); the
following works for me on a 1.3.26 server, and the patch is identical
against 2.0.40:
--- magic.orig Tue Mar 26 10:35:15 2002
+++ magic Fri Aug 9 13:21:27 2002
@@ -251,6 +251,9 @@
# JPEG images
0 beshort 0xffd8 image/jpeg
+# PNG
+0 string \211PNG image/png
+
# PC bitmaps (OS/2, Windoze BMP files) (Greg Roelofs, newt@uchicago.edu)
0 string BM image/bmp
#>14 byte 12 (OS/2 1.x format)
--
Jeremy Mates http://www.sial.org/
OpenPGP: 0x11C3D628 (4357 1D47 FF78 24BB 0FBF 7AA8 A846 9F86 11C3 D628)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org