Jump to content

AddIcon subtlety


effigy

Recommended Posts

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.