howto serve svgz files on OS X Leopard

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  
Safari

cheers

~:"


Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.iconomy.org/

+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