The ht://Dig installer automatically generates a configuration file that provides a site-wide search capability on your domain; unless you want to customize how searches are performed (e.g., specify directories and/or files you want ht://Dig to exclude), you don't have to do anything special to the configuration file; you can begin using ht://Dig immediately.
Should you desire to customize how htdig indexes pages—or where it saves certain work files—you may edit any of the following variables:
| variable | default value |
|---|---|
| database_dir | /home/mydomain/mydomain-www//htdig/db |
| start_url | http://www.mydomain.com/ |
| limit_urls_to | ${start_url} |
| exclude_urls | /cgi-bin/ /stats/ .cgi .pl |
| bad_extensions | .wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi .css |
| maintainer | mydomain@mydomain.com |
| max_head_length | 10000 |
| max_doc_size | 200000 |
Explanations of each variable are in the configuration file itself:
/home/mydomain/mydomain-www/htdig/conf/htdig.conf