Gossamer Forum
Home : General : Internet Technologies :

Apache Directory Index

Quote Reply
Apache Directory Index
Is it possible to change the format of a directory index while using Apache web server? I want to edit it so that I do not need to make an index.html file and simply use the directory listing of my files in a directory.
Quote Reply
Re: [jchen] Apache Directory Index In reply to
Options +Indexes

...in .htaccess
Quote Reply
Re: [Paul] Apache Directory Index In reply to
I can already get a directory listing I just want to change the format of the listing so that it doesn't look like below. I want to make it so that it shows the whole file name and doesn't have the heading of lasmodified, size, and description and those icons.

Index of /movies Name Last modified Size Description
Parent Directory - Faith Evans - 04 Bur..> 28-Jan-2003 19:08 50K clip.mpg 13-Jan-2003 18:03 4.3M tcf-dada.bin 01-Feb-2003 17:41 67M
Quote Reply
Re: [jchen] Apache Directory Index In reply to
You need to read here:

http://httpd.apache.org/...d/mod_autoindex.html
Quote Reply
Re: [Paul] Apache Directory Index In reply to
thanks. that was very helpful but is there any way to get rid of teh <hr> tags and also the name, modify, size and description headings. I couldn't find it on the site you gave me. Thanx again.
Quote Reply
Re: [jchen] Apache Directory Index In reply to
Yeah I did this a while ago - I made my directory index look exactly like windows explorer.

You need to use the HEADER/README files.

http://httpd.apache.org/docs/mod/mod_autoindex.html#headername

http://httpd.apache.org/docs/mod/mod_autoindex.html#readmename

Last edited by:

Paul: Feb 2, 2003, 11:18 AM
Quote Reply
Re: [Paul] Apache Directory Index In reply to
yea i already did that and it just took away Index of /asdfas and left name description ... and the hr still there. I also used SuppressSize and SuppressLastModified but you cannot get rid of the name or HR
Quote Reply
Re: [jchen] Apache Directory Index In reply to
You can, I've done it myself. I can't remember off hand how I did it but it ended up looking like explorer when you just have a list of files names and I had the windows explorer logo as the background.

Last edited by:

Paul: Feb 2, 2003, 12:11 PM
Quote Reply
Re: [Paul] Apache Directory Index In reply to
is it possible that I see your .htaccess file for that your folder that looks like eplorer?