Debian Codegraph @

htdoc/cf_blocks.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2 <html>
3 <head>
4 <title>
5 ht://Dig: Configuration file format -- Block restrictions
6 </title>
7 </head>
8 <body bgcolor="#eef7ff">
9 <h1>
10 Configuration file format -- Restricting Attributes
11 </h1>
12 <p>
13 ht://Dig Copyright &copy; 1995-2004 <a href="THANKS.html">The ht://Dig Group</a><br>
14 Please see the file <a href="COPYING">COPYING</a> for
15 license information.
16 </p>
17 <hr size="4" noshade>
18 <p>
19 Many attributes may be restricted in scope, specifically those
20 used by the <a href="htdig.html">htdig</a> indexer. These
21 attributes can be specified on a per-server or per-URL basis
22 and thus can be applied to only one site or even one
23 particular portion of a site. For example:
24 </p>
25 <dl compact>
26 <dd>
27 <code>
28 &lt;server: www.foo.com&gt;<br>
29 <a
30 href="attrs.html#server_wait_time">server_wait_time</a>: 5<br>
31 &lt;/server&gt;<br>
32 </code>
33 </dd>
34 </dl>
35 <p>
36 Here the portions inside the &lt;server:&gt; &lt;/server&gt;
37 <strong>block</strong> are normal attributes as specified in
38 the <a href="cf_general.html">general configuration</a>
39 documentation. However, rather than applying to all servers,
40 these attributes will apply <em>only</em> to the www.foo.com server.
41 </p>
42 <p>
43 It is also possible to have &lt;url:&gt; &lt/url&gt;
44 blocks. With these, any URL matching the pattern specified in
45 the block will use the attributes within, overriding any other
46 configuration.
47 </p>
48 <p>
49 Not all attributes apply within blocks. Those that do are
50 listed with the appropriate context in the <a href="attrs.html">attribute
51 documentation</a>.
52 </p>
53 <hr size="4" noshade>
54
55 Last modified: $Date: 2004/05/28 13:15:18 $
56
57 </body>
58 </html>