Configuration file format -- Restricting Attributes

ht://Dig Copyright © 1995-2004 The ht://Dig Group
Please see the file COPYING for license information.


Many attributes may be restricted in scope, specifically those used by the htdig 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:

<server: www.foo.com>
server_wait_time: 5
</server>

Here the portions inside the <server:> </server> block are normal attributes as specified in the general configuration documentation. However, rather than applying to all servers, these attributes will apply only to the www.foo.com server.

It is also possible to have <url:> </url> blocks. With these, any URL matching the pattern specified in the block will use the attributes within, overriding any other configuration.

Not all attributes apply within blocks. Those that do are listed with the appropriate context in the attribute documentation.


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