-4

I am testing a piece of software that is working except for some SVG images that are not showing. When I preview them using Firebug in Firefox, it says "Failed to load the given URL," however, when I manually visit the image's URL, it shows just fine.

All file and directory permissions are set to 777 as advised by the software's developer, and all the files' and directories' chown settings are set to the apache group, which seems logical to me.

What am I doing wrong?

Dustin L.
  • 143

1 Answers1

0

The issue was due to Apache not serving the vector graphics properly. I fixed it by adding the following to httpd.conf:

AddType image/svg+xml svg svgz
AddEncoding gzip svgz
Dustin L.
  • 143