modrewrite now allows svg requests to get through
Code is a total mess, but it is looking halfway decent