h5ai is a modern file indexer for HTTP web servers. Directories are displayed in tree style. Initially h5ai was an acronym for HTML5 Apache Index, but now it supports other web servers.
Requires PHP 7.0+ and works well with Apache httpd , lighttpd and nginx . The best user experience with the latest versions of browsers based on Chromium , Firefox , Safari and Edge , but also for older browsers or if JavaScript is disabled.
The script is HTML5 valid with CSS3 and JavaScript for a modern, minimal file-focused interface.
Optional features: file sorting, different viewing modes, location, branch viewing, custom headers and footers, file filters and search, file sizes, automatic refresh, package download, QR codes, thumbnails, file previews.
Installation
Copy the _h5ai folder to the root directory of the web server document: ROOT / _h5ai.
ROOT
- _h5ai
--- your files
--- and folders
Add so that h5ai can manage all directories that do not have an index file.
Apache httpd 2.2 / 2.4 : in httpd.conf or .htaccess in the root directory, for example:
DirectoryIndex index.html index.php /_h5ai/public/index.php
lighttpd 1.4: in lighttpd.confset for example:
index-file.names += ("index.html", "index.php", "/_h5ai/public/index.php")
nginx 1.2: in nginx.confset, for example:
index index.html index.php /_h5ai/public/index.php;
Cherokee 1.2: in cherokee.confset, for example:
vserver!1!directory_index = index.html,index.php,/_h5ai/public/index.php
The main configuration file is_h5ai/private/conf/options.json, if you want to change some of the settings.