A simple php directory listing designed with Bootstrap
I started this project to improve the module dir-listing of lighttpd. The original lighttpd module is very fast (C written) but is not responsive, it does not display well on tablet/smartphone.
- Responsive layout
- Automatic file type recognition (different icons)
- Option to hide/show "last modified" coloumn
- Option to hide/show hidden file
- Fixed navigable path
- Banner for "Empty folder"
- Banner for "Error opennig folder" ( no permissions to read)
- Web Server (tested with lighttpd and nginx)
- php5
Create a folder "dirl" in your web-root and put all files in there. Edit your web server rules to redirect directory listing request to "dirl/dir_listing.php
The configuration file is:
/dir-listing-bootstrap/dir_listing_conf.php
If you are on a 32bit machine like RaspberryPi you have to change this line in the config file
$use_du_command = true