Hive/LiteSpeed Directory Indexing

From Wiki

Jump to: navigation, search

Question

How to enable directory indexing/browsing when using Hive + LiteSpeed?

Answer

With LiteSpeed the default behavior for a folder with no default index file is to display nothing at all.

In order to enable the LiteSpeed directory indexing is you need to:

Auto Index => Yes
Auto Index URI => /_autoindex/default.php
cp -rfa /usr/local/lsws/share/autoindex /var/suexec/baseos/usr/local/lsws/share/autoindex
cp -rfa /usr/local/lsws/share/autoindex /root/baseos/usr/local/lsws/share/autoindex

Note that you should copy it both in the memory (/var/suexec/baseos) and the physical location of the baseos files ( /root/baseos) so the changes are preserved after a potential server reboot.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox