[thelist] Mornings job: Giving a 'part of the site' feel to Apache server automatically generated file listings

John C Bullas jcbullas at nildram.co.uk
Fri Feb 13 03:42:53 CST 2004


<tip type="Giving a 'part of the site' feel to Apache server automatically 
generated file listings" author="John C Bullas">
If you are not too teccy, but can use .htaccess and you can't work out how 
to deliver dynamic listings
of web directory contents EASILY in any other way but want the same feel to 
these listings as the
rest of the site  why not give a moment to using......

Options Indexes..... (turn it on first!)
IndexOptions....
FancyIndexing....
ScanHTMLTitles...
DescriptionWidth=
Suppress......
NameWidth=
IndexIgnore *.bak (etc etc to hide LOG files your FTP package might dump)
HeaderName / (to add headers and fooers to the listings)
ReadmeName / (the footer!)
AddIcon (ARTICLE,fullurl) .pdf (etc etc to dispay nice little pdf logos for 
the PDF content etc etc)

......and other great apache functionality(!) to give server delivered 
listings the 'part of the site' feel,
NOTE: you will have to establish which 'flavour' of the commands actually 
works on your hosts server though....

like here...

http://www.michaelolearystoryteller.com/cuttings1997/ (site moving to its 
own space soon)

Nb: The author is a road safety researcher and NOT a  full time webmaster
</tip> 



More information about the thelist mailing list