|
LayoutHeaderFile (depreciated in version 2.5)
Description
LayoutHeaderFile is a form of the Header Directive Family that
inserts data into the outbound stream before the document is displayed.
If you are using static information in your header you are far better
off using this or LayoutHeaderTXT since both methods cache
their data in Apache directly.
Example
<VirtualHost www.foo.com:80>
LayoutHeaderFile /etc/motd
</VirtualHost>
Known Problems
Like all Header methods this can break pages that use
Frames if you are not careful. Also, you can end up
breaking the Title for the page depending on what
the contents of the Header are. A number of companies
seem to get around this problem by using Footer with
some JavaScript to place either a floating window
in the window or by doing some other similair
type workaround (when someone mails me an example
piece of JavaScript doing this, I will add it to
the FAQ).
|