Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Antanide opened this issue Nov 12, 2019 · 0 comments
Open

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

Antanide opened this issue Nov 12, 2019 · 0 comments

Comments

@Antanide
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant