AutoIndex headername?

Discussion in 'Install/Configuration' started by jacob, Jul 18, 2013.

  1. jacob

    jacob Member


    In apache you have the .htaccess directive

    HeaderName file.html

    that allows you to set a header of an index page.

    Is there any similar options in LiteSpeed so each customer can change the HeaderName using .htaccess? Been doing some research but haven't been able to see anything.

  2. webizen

    webizen Well-Known Member

    look at /usr/local/lsws/share/autoindex/default.php to start with.

    the HeaderName is hardcoded with 'HEADER[.html|.htm]'. iow, just name the file HEADER or HEADER.html or HEADER.htm in the directory should be good.

Share This Page