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
- Host: GitHub
- URL: https://github.com/ramlmn/Apache-Directory-Listing
- Owner: ramlmn
- License: mit
- Created: 2016-02-14T10:16:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-21T08:01:06.000Z (10 months ago)
- Last Synced: 2024-08-04T08:03:11.498Z (7 months ago)
- Topics: apache, apache2, directory-listing, htaccess, indexing, listing, mod-autoindex, serving-directory
- Language: CSS
- Homepage: https://ramlmn.github.io/Apache-Directory-Listing/
- Size: 498 KB
- Stars: 187
- Watchers: 10
- Forks: 34
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: license.txt
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` |
|:-----------------------:|:-------------------------:|
|  |  |### Dark theme
| `grid-darkmode` | `table-darkmode` |
|:----------------------------:|:------------------------------:|
|  |  |## 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)