Responsive Apache Directory Listing
A directory listing configuration for the famous Apache web server. It greatly improves the default directory listing:
- Linked path navigation
- Clickable rows
- 183 preconfigured common file types
- CSV based file type configuration
- Configuration helper script
- Generic icons based on the file extensions
- Title shows current path location
- Denies navigation outside the root level
Try a demo to see some running code.
Download the latest version and unpack it to a nice place on your machine.
.htaccess file and the
public directory to a location on your Apache web server.
Open the .htaccess file with an text editor of your choice. Change the value of the environment variable
ROOT_PATH to the path on your Apache web server.
Add File Types
Open the file_types.csv file with an text editor of your choice and add new file types in the following pattern:
css-prefix-;extension;Description of the File Type
Open the configuration_helper.php in your browser. Copy the content of the ".htaccess" textarea to the configuration section in the .htaccess file.
td:after CSS pseudo-element definitions in the all.css file with the content of the "public/all.css" textarea.
Open the all.css file with an text editor of your choice and go nuts ;D
Responsive Apache Directory Listing is licensed under the Creative Commons - Attribution-NonCommercial 3.0 Unported.