I am while using following .htaccess to brighten up my directory list:

Options +Indexes
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble
HeaderName header.html
IndexIgnore header.html footer.html favicon.ico .htaccess .ftpquota .DS_Store icons *.log *,v *,t .??* *~ *#

It loads header html which consists of:

<html><head><title>My Stuff</title>
<style type="text/css">
body {
    background: #eee;
    margin: 33px;
    color: #333;
    }
h1 {
    font: 2.0em Georgia, serif;
    }
h1 a:hover, h1 a:active {
    text-decoration: none;
    }
a:link {
    text-decoration: none;
    color: #555;
    }
a:visited {
    text-decoration: none;
    color: #777;
    }
a:hover, a:active {
    text-decoration: underline;
    color: maroon;
    }
pre {
    font: 0.9em/1.3em "Courier New", Courier;
    margin: 3px 0;
    color: #777;
    }
pre img {
    display: inline;
    }
img {
    margin: 3px 0;
    }
</style>
</head>
<body><h1><a href="/test" title="My Atlassian Stuff">My Stuff</a></h1>

It appears great after i visit the folder /test/. However, after i visit /test/test2/ it does not get the prior htaccess, thus showing the boring default style. How do i allow it to be stick/recursive for that lower lounging subfolders too?

Thanks,

Dennis

Place a / before header.html to inform Apache to turn to the main each time.

HeaderName /header.html

EDIT: In case your header.html file does not appear in the main, change the road to be in which you have saved the file.

HeaderName /path/to/header.html