effigy Posted September 5, 2007 Share Posted September 5, 2007 I am using mod_autoindex on a directory which contains a subdirectory called "Happy_Hardcore" (a style of music). The bomb image is shown instead of the folder image because "core" partially matches the directory name. I tried moving this rule below the folder definition, but this had no effect, so the defaults still stand, as below: AddIcon /icons/bomb.gif core AddIcon /icons/folder.gif ^^DIRECTORY^^ The documentation states that... Name is either ^^DIRECTORY^^ for directories, ^^BLANKICON^^ for blank lines (to format the list correctly), a file extension, a wildcard expression, a partial filename or a complete filename. ...which doesn't help me. From what I can tell, there's no syntax to distinguish a partial filename from a complete filename, and no regular expression anchors are available. Has any one come across something like this before, and if so, what was your best solution? I'm still analyzing... Thanks. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted September 5, 2007 Share Posted September 5, 2007 Could you place the AddIcon code in a htaccess file in the right location? The htaccess file should be processed last, so it might show it subtlely. -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.