Apache HTTP |
ht://Dig Sample Compile and Installation
# tar xzvf htdig-3.1.2.tar.gz
# cd htdig-3.1.2/
# more README
# more htdoc/install.html
# ./configure --help
# ./configure --prefix=/opt/htdig --with-cgi-bin-dir=/opt/web/cgi-bin --with-image-dir=/opt/web/icons --with-search-dir=/opt/web/htdocs/search
# cp CONFIG CONFIG_19990614
# vi CONFIG
# diff CONFIG CONFIG_19990614
78c78
< IMAGE_URL_PREFIX= /icons
---
> IMAGE_URL_PREFIX= /htdig
92c92
< SEARCH_FORM= index.html
---
> SEARCH_FORM= search.html
# make
# make -n install
# make install
From the output of make install...
Before you can start searching, you will need to create a
search database. A sample script to do this has been
installed as /opt/htdig/bin/rundig
# cp /opt/htdig/conf/htdig.conf /opt/htdig/conf/htdig.conf_19990614
# vi /opt/htdig/conf/htdig.conf
# diff htdig.conf htdig.conf_19990614
28c28
< start_url: http://crosscheck.feldt.com http://crosscheck.feldt.com/jun1999
---
> start_url: http://www.htdig.org/
57c57
< maintainer: root@crosscheck.feldt.com
---
> maintainer: unconfigured@htdig.searchengine.maintainer
# /opt/htdig/bin/rundig
|