Install h5ai – file indexer on Centos 7 Rumi, July 2, 2020 H5ai is a modern file indexer for HTTP web servers with focus on your files. Directories are displayed in a appealing way and browsing them is enhanced by different views, a breadcrumb and a tree overview. Initially h5ai was an acronym for HTML5 Apache Index but now it supports other web servers too. Step 1 – Installing (Requires PHP 5.5+) wget https://release.larsjung.de/h5ai/h5ai-0.29.2.zip unzip h5ai-0.29.2.zip Copy folder _h5ai to the document root directory of the web server: DOC_ROOT/_h5ai. DOC_ROOT ├─ _h5ai ├─ your files └─ and folders Add /_h5ai/public/inde to http conf file Apache httpd 2.2/2.4: in httpd.conf or in the root directory’s .htaccess file set for example: DirectoryIndex index.html index.php /_h5ai/public/index.php Nginx 1.2: in nginx.conf set for example: index index.html index.php /_h5ai/public/index.php; Step 2 – Visit http://YOUR-DOMAIN.TLD/_h5ai/public/index.php, to check if h5ai is reachable. This page shows some hints on the server’s capabilities. Public Cache Directory and Private Cache Directory chmod -R 755 /_h5ai/private chmod -R 755 /_h5ai/public Use EXIF thumbs- Install exif for PHP Movie thumbs #EPEL Release yum install -y epel-release rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 yum repolist #Nux-Dextop rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm yum repolist #ffmpeg yum install -y ffmpeg ffmpeg -version PDF thumbs yum -y install imagemagick Remove exec, passthru and scandir from php.ini disabled function Change website title vi _h5ai/private/php/pages/index.php <title>Index of JackieSung</title> vi _h5ai/private/conf/options.json /* Replace window title with current breadcrumb. */ "title": { "enabled": true }, vi _h5ai/public/js/scripts.js Replace "/"===e?f.getDomain():n.name with "/"===e?'Something I want':n.name Related Administrations Configurations (Linux) CentOS 7h5aiIndexer
Many-To-One Mappings IIS February 13, 2013February 13, 2013 Many-to-one Client certificate mapping is used by the Internet Information Services (IIS) to associate an end user to a windows account when the client certificate is used for the user authentication. The user session is executed under the context of this mapped windows account by IIS. For this to work… Read More
Change the listening port for RDP on your computer- Windows 10, Windows 8.1, Windows 8, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2008 R2 July 29, 2019 When you connect to a computer (either a Windows client or Windows Server) through the Remote Desktop client, the Remote Desktop feature on your computer “hears” the connection request through a defined listening port (3389 by default). You can change that listening port on Windows computers by modifying the registry…. Read More
Creating Domain Parking Page in Virtualmin October 4, 2008 Well, who ever set up virtualmin must be sick in seeing the default CentOS Apache page! I bet you do- since this it concerns to other hosted domains and virtual servers! Related Read More