httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Mates <jma...@sial.org>
Subject PNG support for mod_mime_magic?
Date Fri, 09 Aug 2002 20:39:11 GMT
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


Mime
View raw message