W3C home > Mailing lists > Public > www-svg@w3.org > April 2008

howto serve svgz files on OS X Leopard

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Fri, 18 Apr 2008 15:31:57 +0100
Message-Id: <5AB4DBD0-0880-4A3A-ACF5-D141E9462CA5@btinternet.com>
To: www-svg <www-svg@w3.org>
save .htaccess file in /Library/WebServer/Documents with contents:

AddType image/svg+xml svg svgz
AddEncoding x-gzip .gz .tgz .svgz .svg.gz

"Out of the box, the Apache Web server that comes with OS X does not  
take any notice of .htaccess files"
follow these instructions: http://www.clagnut.com/blog/350/
but note that in Leopard use /private/etc/apache2/httpd.conf

success can currently be tested with the W3C validator, Mozilla or  



Jonathan Chetwynd


+44 (0) 20 7978 1764

my thanks once again to Olaf, Jeff,  Andreas & ed_work on irc
Received on Friday, 18 April 2008 14:32:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:18 UTC