16

A user of mine came to me with a question today that has me stumped: Why do .musecore files on our web server show a bomb icon (Apache Bomb Icon) instead of a folder icon?

More generally, how does Apache decide what icon to display, and where can I inspect and/or change that configuration?

masegaloeh
  • 18,376
  • 10
  • 58
  • 110
jldugger
  • 14,462

2 Answers2

22

By default, the bomb icon is displayed for core dumps, and the default configuration assumes that any filename or directory name matching a regex like ^*core$ must be a core dump.

This option is controlled by the AddIcon directive of mod_autoindex which is also visible in the default extra/httpd-autoindex.conf file:

AddIcon /icons/bomb.gif core
Lekensteyn
  • 6,321
Corbin
  • 338
-1

If for some reason you have named your directory 'core' the bomb image will be displayed. If it not a core dump, simply change the directory name to something else and the bomb image will be replaced with the usual folder image.

  • 3
    This isn't really a new/unique answer from the one that was already posted and accepted nearly a year ago... Consider posting comments like this as actual comments (once you have enough rep that you're allowed to). Just FYI – JimNim Aug 19 '14 at 19:53