Apache Guide: Generating Fancy Directory Listings with mod_autoindex Page 3
Download the authoritative guide: Data Center Guide: Optimizing Your Data Center Strategy
Download the authoritative guide: Cloud Computing: Using the Cloud for Competitive Advantage
and you have a file in that directory called
README.html, that file will be displayed as the readme file for that directory.
Another neat trick here is that you can use
HeaderNamein conjunction with
IndexOptions +SuppressHTMLPreamble, putting HTML in the header file to specify background, fonts, style sheets, or whatever you use on the rest of your site, so that the directory listing does not have to look like it does not belong to the rest of your site.
In the cases where you have directory listings rather than actual HTML pages,
mod_autoindexcan make these listings look exactly as you want them to, without having to generate custom directory listing pages for each directory.
Thanks for your feedback on my articles, and thanks for reading. Please drop me a note at ApacheToday@rcbowen.com if you have questions, or suggestions of topics you'd like for me to cover in future columns.
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...