View Full Version : New Ugly Apache Indexing
madness.productions
03-08-2008, 12:54 AM
Back when bluehost was using apache 1 indexes where looking pretty nice but now to look so ugly.
example = http://www.images.drivermadness.net/
Just wondering if anyone knows if and how we can improve the look of index pages.
Basil
03-08-2008, 02:20 AM
I'm not sure what you had before, but this is basically what's in my apache's autoindex configuration..
IndexOptions FancyIndexing HTMLTable VersionSort
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
Just put it in an htaccess file.
Check http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html for directive information.
You could alternatively make your own indexes using php or something, and completely customize the way they look.
lazynitwit
03-08-2008, 08:24 AM
IndexOptions +FancyIndexing
This turns on the old default style of using preformatted text instead of lists or tables for the directory indexes, with sortable columns.
You can make use of various options at the link Basil posted, along with the HeaderName and ReadmeName (footer) to customize the look.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.