Dragan Marjanovic
Dragan Marjanovic

Reputation: 1287

Showing folder contents in html page?

Im working on a section of my site which is for file storage. By default when you navigate to a folder without index.html all the files and directories are listed, and can be downloaded. I was wondering how I could keep this but style the page and add extra links and buttons to it. Thanks

Upvotes: 1

Views: 212

Answers (2)

Mike
Mike

Reputation: 2136

I found this in a quick search, but haven't messed with it before:

http://paradox460.newsvine.com/_news/2008/04/05/1413490-how2-stylish-apache-directory-listings

Upvotes: 1

Quentin
Quentin

Reputation: 943569

The page is generated by mod_autoindex.

You can use the HeaderName directive to insert a file into the top of the response (including some content and <link>s to stylesheets.

Upvotes: 3

Related Questions