Apache Module mod_autoindex

Apache Module mod_autoindex

Posted by: user919
Posted on: 2006-06-15 21:01:00

this is programming? ah well, a question regardless...

I've been modifyng an htaccess file to fancy up some indexing from the documentation http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html

I'm having trouble determining how I would go about cspecifying the icon to use for DIRECTORIES and the PARENT DIRECTORY links. I know they can both be specified but I'm just not finding exactly how to go about it.

I've managed to set icons for different file/mime types but these 2 I've not a clue...

thanks

jason

Re: Apache Module mod_autoindex

Posted by: Raz2133
Posted on: 2006-06-15 22:31:00

In reply to:

I'm having trouble determining how I would go about cspecifying the icon to use for DIRECTORIES and the PARENT DIRECTORY links.


Try the following in your .htaccess file;

AddIcon /icons/icon1.bmp ^^DIRECTORY^^
AddIcon /icons/icon2.bmp ..


The first line specifies an icon for directories and the second line specifies an icon for the parent directory.

Mark

Re: Apache Module mod_autoindex

Posted by: user919
Posted on: 2006-06-16 09:15:00

bah! I rememeber reading that and I apparently never ansorbed it or ran accross it again while looking specifically for it!

Thanks for backing up these tired old eyes :)

jason

Re: Apache Module mod_autoindex

Posted by: Raz2133
Posted on: 2006-06-16 09:41:00

In reply to:

Thanks for backing up these tired old eyes :)


No worries Jason, I am glad to help where I can. :)

Mark

Tags: apache modulehtaccess filemime typesparent directoryindexingcluedocsiconsicondirectorieshtmlhttp