15

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?

21

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

  • 2
    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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.