File: cf_blocks.html

package info (click to toggle)
htdig 1%3A3.2.0b6-21
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,292 kB
  • sloc: ansic: 49,632; cpp: 46,468; sh: 17,400; xml: 4,180; perl: 2,543; makefile: 888; php: 79; asm: 14
file content (58 lines) | stat: -rw-r--r-- 1,773 bytes parent folder | download | duplicates (9)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
  <head>
	<title>
	  ht://Dig: Configuration file format -- Block restrictions
	</title>
  </head>
  <body bgcolor="#eef7ff">
	<h1>
	  Configuration file format -- Restricting Attributes
	</h1>
	<p>
	  ht://Dig Copyright &copy; 1995-2004 <a href="THANKS.html">The ht://Dig Group</a><br>
	  Please see the file <a href="COPYING">COPYING</a> for
	  license information.
	</p>
	<hr size="4" noshade>
	<p>
	Many attributes may be restricted in scope, specifically those
	used by the <a href="htdig.html">htdig</a> indexer. These
	attributes can be specified on a per-server or per-URL basis
	and thus can be applied to only one site or even one
	particular portion of a site. For example:
	</p>
	<dl compact>
	  <dd>
		<code>
		&lt;server: www.foo.com&gt;<br>
		<a
		href="attrs.html#server_wait_time">server_wait_time</a>: 5<br>
		&lt;/server&gt;<br>
		</code>
	  </dd>
	</dl>
	<p>
	Here the portions inside the &lt;server:&gt; &lt;/server&gt;
	<strong>block</strong> are normal attributes as specified in
	the <a href="cf_general.html">general configuration</a>
	documentation. However, rather than applying to all servers,
	these attributes will apply <em>only</em> to the www.foo.com server.
	</p>
	<p>
	It is also possible to have &lt;url:&gt; &lt/url&gt;
	blocks. With these, any URL matching the pattern specified in
	the block will use the attributes within, overriding any other
	configuration.
	</p>
	<p>
	Not all attributes apply within blocks. Those that do are
	listed with the appropriate context in the <a href="attrs.html">attribute
	documentation</a>.
	</p>
	<hr size="4" noshade>

	Last modified: $Date: 2004/05/28 13:15:18 $

  </body>
</html>