Choose language

Portal Home > Knowledgebase > How-to > Hosting > HTTP > h5ai file indexer for HTTP server


h5ai file indexer for HTTP server




h5ai is a modern file indexer for HTTP web servers. Directories are displayed in an appealing way and browsing them is enhanced by different views. It supports whole folder downloads, images preview and many more features.


Installation

Login to your SSH, here is article how to do this:


Go to your web root directory:

cd ~/www/$(whoami).$(hostname)/$(whoami)


Now download and extract h5ai

wget --no-check-certificate https://release.larsjung.de/h5ai/h5ai-0.29.0.zip && unzip h5ai-0.29.0.zip

Now you need to point h5ai to manage all directories without an index file.

echo "DirectoryIndex  index.html  index.php  /$(whoami)/_h5ai/public/index.php" > .htaccess


That's all, it has been installed. Go to your account via http and h5ai will manage the display of your content.
h5ai is installed with basic configuration, you can add more features with your requirements, editing the following file

_h5ai/private/conf/options.json


You can also download our preconfigured options.json file with most of the features enabled. Just type this command in SSH:

wget --no-check-certificate -O ~/www/$(whoami).$(hostname)/$(whoami)/_h5ai/private/conf/options.json https://www.dropbox.com/s/vej504nbbbqzg59/options.json


Uninstallation
If you want to uninstall h5ai just type 2 commands in SSH:

rm -r ~/www/$(whoami).$(hostname)/$(whoami)/_h5ai

rm -f ~/www/$(whoami).$(hostname)/$(whoami)/.htaccess




Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Additional web users (Views: 6899)
WebDAV (Views: 8492)

Powered by WHMCompleteSolution