Guides Apache Guide: Generating Fancy Directory Listings with mod_autoindex Page 3

Apache Guide: Generating Fancy Directory Listings with mod_autoindex Page 3




     ReadmeName README

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 HeaderName in
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.

Conclusion

In the cases where you have directory listings rather than
actual HTML pages, mod_autoindex can 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 [email protected] if you
have questions, or suggestions of topics you'd like for me to
cover in future columns.

Latest Posts

How to Convert a Physical Computer to a Virtual Machine

Many organizations are implementing virtualization technology into their networks to convert physical computers to virtual machines (VM). This helps reduce overall physical hardware costs,...

HPE ProLiant DL380 Gen10: Rack Server Overview and Insight

The HPE ProLiant DL380 series has consistently been a market leader in the server space. The Gen10 released in 2017 further increased HPE's market...

Best Server Management Software & Tools 2021

Finding the best server management software tools for your organization can have a major impact on the success of your business operations. Manually handling...

IBM AS/400: Lasting the Test of Time

Some server operating systems (OS) were built to survive the test of time – the IBM AS/400 is one such system.  The AS/400 (Application System/400)...

What is Disaster Recovery?

The modern organization's heavy dependence on using data to drive their business has made having a Disaster Recovery (DR) plan in place a necessity....

Related Stories