Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
See httpd.apache.org/docs/current/mod/mod_autoindex.html#addicon (+1 for the title) –  Lekensteyn Nov 27 '13 at 17:39
    
And obviously, "this page" is fixed now. Yay serverfault! I've adjusted the link to go to archive.org. –  jldugger Nov 27 '13 at 17:54
add comment

1 Answer

up vote 14 down vote accepted

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
share|improve this answer
1  
    
I made a file applecore as a test, and put some text in it, and it showed up as a bomb. –  jldugger Nov 27 '13 at 17:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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