Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dogsghost/auto-index-directory
https://github.com/dogsghost/auto-index-directory
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/dogsghost/auto-index-directory
- Owner: dogsGhost
- Created: 2013-11-05T00:35:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-05T00:35:16.000Z (over 11 years ago)
- Last Synced: 2024-04-17T05:46:08.241Z (10 months ago)
- Language: PHP
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automatic Directory Indexing
* Place `index.php` inside the folder you want indexed. Direct your browser to that directory to see a list of its contents.
* Automatically generates a list of links for all folders/files in the same folder as the `index.php` file.
* It will ignore itself and any files or folders starting with a period.
* It assumes any name with a period in it (but not starting with a period) is a file and not a folder. This is strictly for the purposes of adding a trailing slash to the link text to distinguish folders from files.
* Requires the server supports PHP.
* Useful for media folders containing numerous files (PDFs, images, music).
* Quick workaround when working on Apache servers with `Options -Indexes` enabled.
* Contains some basic alternate styling for link states. Delete or edit the contents of the `style` tag to change these.