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?

2

2 Answers 2

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
3
-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.

1
  • 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, 2014 at 19:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .