i created a svg for my homepage(logo).
I placed it in
/var/www/html/mm/pictures
The html is correct(syntax and path to the image) but it is only displaying alt text.
A quick look into /var/log/apache2/error.log
gives following output:
[Sun Apr 05 15:14:54.570044 2015] [core:error] [pid 2114] (13)Permission denied: [client 84...] AH00132: file permissions deny server access: /var/www/html/mm/pictures/logo.svg, referer: http://84../
Permissions from logo.svg down to /var/www/html/mm :
logo.svg:
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
/var/www/html/mm/pictures:
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
/var/www/html/mm:
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
So, for me it looks just fine, world read access is granted so why is access for www-data denied?
Maybe something important to know:
logo.svg was created on my laptop(not the server) with Inkscape and transmitted over openvpn and ssh using securecopy scp
to the home-directory pof my server and then from my server to /var/www/html/mm/pictures
.