Server Configuration:PHP

From Svg wiki

The PHP header() Function

To serve your file as SVG (with the correct MIME type) add the following function call to the top of your file. Make sure it comes before any of your markup because trying to send an HTTP header after some of the file has been sent to the client will cause an error.

<?php
header('Content-type: image/svg+xml');
?>

---

At [1] you find PHP code to run your own SVG-proxy (which changes the MIME-type in image/svg+xml)