Apache Module mod_autoindex

software development

#1

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

[color=#0000CC]jason[/color]


#2

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


Save [color=#CC0000]$50[/color] on DreamHost hosting using promo code [color=#CC0000]SAVEMONEY[/color] ( Click for promo code details )


#3

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 :slight_smile:

[color=#0000CC]jason[/color]


#4

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

Mark


Save [color=#CC0000]$50[/color] on DreamHost hosting using promo code [color=#CC0000]SAVEMONEY[/color] ( Click for promo code details )