mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bth@kamstrup.com>
To: ptxdist@pengutronix.de
Cc: bth@kamstrup.com
Subject: [ptxdist] [PATCH] lighttpd: svg mimetype support
Date: Thu, 18 Jun 2015 09:06:12 +0200	[thread overview]
Message-ID: <1434611172-14689-1-git-send-email-bth@kamstrup.com> (raw)

web server can now serve svg images with generic config.

Signed-off-by: Bruno Thomsen <bth@kamstrup.com>
---
 generic/etc/lighttpd/lighttpd.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generic/etc/lighttpd/lighttpd.conf b/generic/etc/lighttpd/lighttpd.conf
index 49c08e3..34468ea 100644
--- a/generic/etc/lighttpd/lighttpd.conf
+++ b/generic/etc/lighttpd/lighttpd.conf
@@ -39,6 +39,7 @@ mimetype.assign		= (
 	".jpg"		=>	"image/jpeg",
 	".jpeg"		=>	"image/jpeg",
 	".png"		=>	"image/png",
+	".svg"		=>	"image/svg+xml",
 	".xbm"		=>	"image/x-xbitmap",
 	".xpm"		=>	"image/x-xpixmap",
 	".xwd"		=>	"image/x-xwindowdump",
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2015-06-18  7:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  7:06 Bruno Thomsen [this message]
2015-07-01  8:06 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434611172-14689-1-git-send-email-bth@kamstrup.com \
    --to=bth@kamstrup.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox