Tutorial on how to install and configure htDig search for your web site. The Linux Information Portal includes informative tutorials and links to many Linux sites. WWW Search Engine Software. Contribute to roklein/htdig development by creating an account on GitHub. Htdig retrieves HTML documents using the HTTP protocol and gathers information from these documents which can later be used to search these documents.

Author: Mem Dit
Country: Montserrat
Language: English (Spanish)
Genre: Software
Published (Last): 4 July 2004
Pages: 359
PDF File Size: 7.6 Mb
ePub File Size: 5.31 Mb
ISBN: 665-2-14246-252-5
Downloads: 29672
Price: Free* [*Free Regsitration Required]
Uploader: Arashilkree

htdig(1) – Linux man page

In any case, you should check your web server’s error log for any information related to htsearch’s failure. Often this is because the databases are corrupt.

You can add an index. Unfortunately, a small bug crept into the code so that even if you don’t set any of the date range input parameters startyear, endyear, etc. You should repeat a similar set of steps to configure and test doc2html.

HtDig provieds a CGI to support searching the database to generate a web page of search results pointing to the content on the website. By default, Apache is usually configured with one cgi-bin directory as ScriptAlias, so all your CGI programs must go in there, or have a. To use multiple databases, you will need a config file for each database.

It should prompt you for the search words, as well as the format.

htDig – Web Site Search

If it’s there, modify it instead of adding another definition. E-mailing the developers directly circumvents this forum and its benefits. As for practical limits, it depends a lot on how many pages you plan on indexing. Another possibility, if you’re running 3. These can be the same dictionary and affix files as are used by the ispell software.


The latest version is 3.

htdig(1) – Linux man page

If you have enough disk space for two copies of the index database, use -a with the htdig and htmerge processes. Anything else, where htdig would normally htidg back to using HTTP, will fail. HtDig will provide an on-site web search capability. A number of other alternatives also exist to ht: If you have an idea or even better, a patchplease send it to the ht: The University of Leipzig has published word lists containing theand most often used words in English, German, French and Dutch.

Most systems expect something like locale: Doing so will allow htdig to still follow links to other documents, but will prevent this document from being put into htidg index itself.

That’s where htdig’s db library is.

We’re all a little tired of arguing about it. Note that this is only necessary for CGI input parameters, not for the corresponding configuration attributes in your htdig. For the latter, you just need to set the restrict or exclude input parameter in the search form.

Search results pages produced by HtDig use graphics provided by HtDig. You could also index all the URLs in a file like so: The University at Albany has a good description of how to use the restrict or exclude input parameters: Also, once you’ve set your locale, you need to reindex all your documents in order for the locale to take effect in the word database.

The htdig program stores a fair amount of information about the URLs it visits, in part to only index a page once. Most versions are also distributed as a patch to the previous version’s source code. This command isn’t in the default rundig script, so you may want to add it there. In addition to installing doc2html. This is fixed in version 3.

Default You would also put into the configuration file any other lines from the default configuration file that apply to htsearch. If you discover something, please let us know! It’s fixed in Red Hat 5. It also reduces digging time slightly.


Current versions of ht: The most common cause of this error is that htdig did not manage to index any documents, and so it did not create a word list. However, it is possible doing it the other way round: It so happens that the ht: The “keywords” input parameter to htsearch has absolutely nothing to do with searching meta keywords fields. Also, the built-in PDF support expected PDF documents to use the same character encoding as is defined in your current localehtdjg isn’t always the case.

The current rundig script will do this for you if you supply the -a flag to it. If you want to relocate other graphics, such as the buttons or the ht: Put the htsearch binary or wrapper script for the secure site in htddig different ScriptAlias’ed cgi-bin hrdig than the public one, and protect the secure cgi-bin with a.

The comments in the Perl script indicate where you can obtain these converters. You can either mail the ht: It is not entirely clear why these problems occur, though they seem to only happen when older compilers are used.

If htdig and htmerge have run to completion, and the problem still occurs, this is usually an indication of a corrupted database. There are also slightly different limits to each of the programs. Contributed binary releases will htdgi in http: