You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.5 KiB

8 years ago
SIMPLE: Apache Directory Listing Theme
======================================
4 years ago
[https://miroslavpokorny.com/simple-apache-directory-listing-theme/](https://miroslavpokorny.com/simple-apache-directory-listing-theme/)
8 years ago
This theme turns that ugly default file listing by autoindex mod in Apache into this:
![](https://fuchcz.github.io/simple-apache-directory-listing-theme/images/simple-screenshot.jpg)
## Installation ##
### Apache configuration ###
1. Download and extract `simple` from `conf` directory.
8 years ago
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.)
8 years ago
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.
8 years ago
## 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'.
8 years ago
## Troubleshooting ##
If you have trouble running `.htaccess` version, try to look at `AllowOverride` directive.
## Licence ##
[MIT](https://opensource.org/licenses/MIT).
## Footnotes ##
Icons by [Yusuke Kamiyamane](http://p.yusukekamiyamane.com).