mirror of
https://github.com/fuchcz/simple-apache-directory-listing-theme.git
synced 2025-12-16 04:33:21 +01:00
Apache directory listing theme
| conf | ||
| htaccess | ||
| license.md | ||
| readme.md | ||
SIMPLE: Apache Directory Listing Theme
https://miroslavpokorny.com/simple-apache-directory-listing-theme/
This theme turns that ugly default file listing by autoindex mod in Apache into this:
Installation
Apache configuration
- Download and extract
simplefromconfdirectory. - Use
example.confto edit conf file for selected directory / virtual host . (E.g. edit/etc/apache2/sites-available/000-default.confin Ubuntu to use theme everywhere.) - Reload Apache.
.htaccess
- Download and extract
simplefromhtaccessdirectory. - Either put
simplein the root and rename.htaccess.root, or replace every occurrence of{SIMPLE_DIRECTORY}by real path in.htaccess.customdirand use it. - 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.
