File: Layout.html

package info (click to toggle)
libapache-mod-layout 3.2.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 328 kB
  • ctags: 224
  • sloc: ansic: 1,448; makefile: 122; sh: 43
file content (39 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<HTML>
<BODY TEXT="#000000" LINK="#0000FF" VLINK="#551A8B" ALINK="#FF0000" BGCOLOR="#FFFFFF">

<H2>Layout</H2>


<H3>Description</H3>
<P><B>Layout</B> 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.
<br>This directive was added in version 3.1.0.
</p>

<H3>Example 1 (straight text)</H3>
<BLOCKQUOTE>
&lt;VirtualHost www.foo.com:80&gt;<BR>
Layout "<-- copyright -->" "Copyright Foobar, 2000" replace<BR>
&lt;/VirtualHost&gt<BR>
</BLOCKQUOTE>

<H3>Example 2 (cache'd HTML document)</H3>
<BLOCKQUOTE>
&lt;VirtualHost www.foo.com:80&gt;<BR>
Layout &lt;/BODY&gt; /usr/local/apache/htdocs/footer.html append<BR>
&lt;/VirtualHost&gt<BR>
</BLOCKQUOTE>

<H3>Example 3 (Dynamic URI)</H3>
<BLOCKQUOTE>
&lt;VirtualHost www.foo.com:80&gt;<BR>
Layout  &lt;/BODY&gt; /copyright.cgi prepend<BR>
&lt;/VirtualHost&gt<BR>
</BLOCKQUOTE>
<P>
<H3>Known Problems</H3>
None currently known.
</BODY>
</HTML>