fauria/docker-lamp

icons are searched in /usr/share/apache2/icons

Opened this issue · 0 comments

if a relative path of /var/www/html starts with "icons", then the content is searched in /usr/share/apache2/icons.

AH00128: File does not exist: /usr/share/apache2/icons/antani.svg,
referer: http://localhost:8080/

If replace

 var myIcon = L.icon ({
   iconUrl: 'icons/antani.svg',
   iconSize: [40, 40],
 });

with

 var myIcon = L.icon ({
   iconUrl: 'ico/antani.svg',
   iconSize: [40, 40],
 });

and rename the folder accordingly, then everything works fine.