ht://dig 3.1.6 installation/configuration

UNIX Web Development

So you need to install a search engine on your site. Keeping with my open source solutions, I have decided to go with ht://Dig. As soon as Apple decided to go with UNIX as a back end to their OS, I was excited because I could finally use ht://Dig (and another classic program called Mailman) I will always be grateful to both communities (ht://Dig and Mailman) because I learned so much about compiling and not to be afraid of source files. I have used ht://Dig for a few years with minimal complaints. You will need to compile ht://Dig, so make sure you have Apple’s Development Package (Xcode).

No need to re-create the wheel, so to compile/install ht://Dig, follow these directions. Before you actually compile everything, you will need to apply a patch that came out since the instructions were made. download the patch: and change the actual ntnotify source file with the corrected variables. After you have applied the patch, you can then complile the source while following the directions from the link above.

To customize the result pages, you can edit the html files in the /common folder so the search pages look seemless with your web site.

If you are going to use ht://Dig on multiple sites (your Virtual Hosts), simply create multiple conf files and multiple db directories, one for each site so that all of your site indexing is separate.

You are also able to add multiple attributes into each conf file to further customize your install. A comprehensive list of all the attrributes for the conf file can be found on ht://Dig’s web site.

So if you want to use a tried and true search engine, give ht://Dig a shot. A new version should be coming soon!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Ahh, Saturday Morning Cartoons in the Eighties!

My sister and I would look forward to Saturday mornings every week (after exciting Friday nights with the Dukes of Hazzard) so much that we actually wrote out a schedule of what was on. I would get up early to set up my afghan fort under the coffee table, and my sister would eat dry […]


Wedding Registries

Well, it is that time again, a relative is getting married and has registered for gifts. While I think wedding registers are very helpful for people that actually want to get people what they want, I also find some of the items a bit much. Enter, the $45.00 nickel plated toilet brush. Yes, a nickel […]