Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Directory Index

Status
Not open for further replies.

jchen84

Technical User
Feb 9, 2003
1
US
I want to make my directory index to just list links to my files in that folder and not have any headers like name size ... and I also want to get rid of the hr tags above and below the listing. I have used the following commands already

IndexOptions FancyIndexing NameWidth=60
IndexOptions FancyIndexing SuppressLastModified
IndexOptions FancyIndexing SuppressSize
IndexOptions FancyIndexing SuppressDescription
IndexOptions FancyIndexing SuppressColumnSorting

and have gotten rid of every thing besides the name heading and the hr tags. I have also used headers and footers but it didnt affect the hr tags.
 
Just stumbled on this by accident after searching for it got me nowhere :) Add to your .htaccess:
Code:
IndexOptions SuppressHTMLPreamble
If you just have that and no FancyIndexing options specified, you get no horizontal rules. You can maybe do work some magic for your formatting by putting some HTML in HEADER.html and README.html files in the directory.
--
JR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top