Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ramlmn/Apache-Directory-Listing

A directory listing theme for Apache
https://github.com/ramlmn/Apache-Directory-Listing

apache apache2 directory-listing htaccess indexing listing mod-autoindex serving-directory

Last synced: 3 months ago
JSON representation

A directory listing theme for Apache

Awesome Lists containing this project

README

        

# Apache-Directory-Listing

> A directory listing theme for Apache

'Apache Directory Listing' is a directory listing theme inspired from [Apaxy](https://github.com/AdamWhitcroft/Apaxy) which uses Apache's `mod_autoindex` module.

## Themes

### Light theme

| `grid` | `table` |
|:-----------------------:|:-------------------------:|
| ![grid](media/grid.png) | ![table](media/table.png) |

### Dark theme

| `grid-darkmode` | `table-darkmode` |
|:----------------------------:|:------------------------------:|
| ![grid](media/grid-dark.png) | ![table](media/table-dark.png) |

## Usage

1. Download or clone the repo and copy `directory-listing` directory to the root directory of Apache.
1. Copy `htaccess.txt` file to the root directory of your server, rename it to `.htaccess`.
1. Inside the renamed `.htaccess` file
- Replace `{LISTING_DIRECTORY}` to the location of `directory-listing` folder on your server.
- Replace `{LISTING_STYLE}` to either `grid`, `table`, `grid-darkmode`, `table-darkmode`, `grid-automode`, or `table-automode`.
- `grid-automode` and `table-automode` will automatically switch between light and dark themes based on the user's OS or browser settings.

## Credits
* Icons referenced from [File Types Icons Set](https://web.archive.org/web/20161030160003/http://uifest.com/product/file-types-icons-set).

## License
[MIT](license.txt)