Apache Settings for SVG - Needs Fixing?
February 6, 2009 - 11:12am
Because this is something you 'set and forget', and since I've had my website for 4+ years, I've lost track of whether anything needs to be done on the Apache Web Server project to ensure that SVG content is served with the correct MIME type by default.
I know earlier versions of Apache required some hacking (typically add a .htaccess file), but it's not clear to me whether the latest version of Apache needs this. If so, maybe this is something we can work on with the Apache folks (should be a straightforward, 1 or 2-line change).
#1 Good Reference
I may have just answered my own question. Seems like the mime.types file is updated with the SVG MIME type as of 1.3.x:
http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types
Btw, this page in the old SVG wiki seems like a pretty good reference: http://wiki.svg.org/MIME_Type