Forum Moderators: phranque
options +indexes
I don't even really know where to go from here. Does anyone have any suggestions, thanks.
In order to do so, you have to allow per-directory overrides.
Apache Tutorial: .htaccess files [httpd.apache.org]
AllowOverride [httpd.apache.org]
<Directory />
DefaultIcon ./icons/unknown.xbm
AddIconByType (IMG,/icons/image.gif) image/*
AddIconByType (SND,/icons/sound.gif) audio/*
AddIconByType (TXT,/icons/text.gif) text/*
where I have the icons folder in www\icons and webroot is my localhost directory and webroot is in www\webroot. I'm not getting any pictures to show up, and the folders have [dir] next to them and all the other files have [ ] next to them.
Thanks for any help.
Right now httpd.conf looks like
<Directory />
Options Indexes
IndexOptions FancyIndexing
IndexOptions FoldersFirst
DefaultIcon ./icons/unknown.gif
AddIconByType (IMG,./icons/image.gif) image/*
AddIconByType (SND,./icons/sound.gif) audio/*
AddIconByType (TXT,./icons/text.gif) text/*
AllowOverride All
Order allow,deny
Deny from all
</Directory>
<Directory />
Options Indexes
IndexOptions FancyIndexing
IndexOptions FoldersFirst
AllowOverride All
Order allow,deny
Deny from all
</Directory>AddIconByType (IMG,/icons/image.gif) image/*
AddIconByType (SND,/icons/sound.gif) audio/*
AddIconByType (TXT,/icons/text.gif) text/*
AddIcon /icons/text.gif .php
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
AddIcon /icons/back.gif ..
DefaultIcon /icons/unknown.gif
Then icons go in webroot\icons
And this text is from httpd.conf