1
0
Fork 0
mirror of https://github.com/fuchcz/simple-apache-directory-listing-theme.git synced 2025-01-18 13:11:11 +01:00
Apache directory listing theme
Find a file
Miroslav Pokorný 1b135d25f5 update readme
2017-02-21 17:01:38 +01:00
conf add fileextension 2017-02-19 16:35:40 +01:00
htaccess htaccess version 2017-02-18 23:29:31 +01:00
license.md initial commit 2017-01-17 14:31:44 +01:00
readme.md update readme 2017-02-21 17:01:38 +01:00

SIMPLE: Apache Directory Listing Theme

This theme turns that ugly default file listing by autoindex mod in Apache into this:

Installation

Apache configuration

  1. Download and extract simple from conf directory.
  2. Use example.conf to edit conf file for selected directory / virtual host . (E.g. edit /etc/apache2/sites-available/000-default.conf in Ubuntu to use theme everywhere.)
  3. Reload Apache.

.htaccess

  1. Download and extract simple from htaccess directory.
  2. Either put simple in the root and rename .htaccess.root, or replace every occurrence of {SIMPLE_DIRECTORY} by real path in .htaccess.customdir and use it.
  3. Reload Apache.

Options

At footer.html there is ignoreDirectories variable, where you can set number of directories that should be hidden in breadcrumb navigation.

There is also ignoreAsNoLink variable that sets whether to ignore as 'do not display' or ignore as 'no links, but visible'.

Troubleshooting

If you have trouble running .htaccess version, try to look at AllowOverride directive.

Licence

MIT.

Footnotes

Icons by Yusuke Kamiyamane.