Layout

Description

Layout is a form of the Layout Directive Family that inserts data whenever its pattern is matched. It takes a third optional parameter which determines if the pattern is replaced, append, or prepend. If nothing is specified the replaced is assumed.
This directive was added in version 3.1.0.

Example 1 (straight text)

<VirtualHost www.foo.com:80>
Layout "<-- copyright -->" "Copyright Foobar, 2000" replace
</VirtualHost>

Example 2 (cache'd HTML document)

<VirtualHost www.foo.com:80>
Layout </BODY> /usr/local/apache/htdocs/footer.html append
</VirtualHost>

Example 3 (Dynamic URI)

<VirtualHost www.foo.com:80>
Layout </BODY> /copyright.cgi prepend
</VirtualHost>

Known Problems

None currently known.