#!/bin/sh

#### THE SPOOL DIR IS "/var/spool/wwwoffle" IN THE LINE BELOW ####

wwwoffle_spool=/var/spool/wwwoffle

####

# Set the path to include the htdig executables

PATH=$PATH:/usr/local/bin
#PATH=$PATH:/usr/local/cgi-bin  # A possible location
#PATH=$PATH:/usr/lib/cgi-bin    # The Debian location
export PATH

# Do the searching

htsearch -c $wwwoffle_spool/html/search/htdig/conf/htsearch.conf
