Иногда Apache не распознает тип носителя для svg, поэтому попробуйте добавить в свой .htaccess:
AddType image/svg+xml .svg .svgz
HttpModuleCollection modules = HttpContext.Current.ApplicationInstance.Modules;
foreach (string moduleKey in modules.Keys)
{
IHttpModule module = modules[moduleKey];
// Do your check here
}