#24714 [Opn->Bgs]: Mirroring with local search using the stock redhat htdig package

From: Date: Sat, 19 Jul 2003 12:20:35 +0000
Subject: #24714 [Opn->Bgs]: Mirroring with local search using the stock redhat htdig package
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19394@lists.php.net to get a copy of this message
ID: 24714 Updated by: goba@php.net Reported By: gmirchev at usa dot net -Status: Open +Status: Bogus Bug Type: Website problem Operating System: Redhat Linux 8.0 PHP Version: Irrelevant New Comment: As the search setup page says, we are not supporting htdig setups anymore, we are working on a better search engine. Work on an mnogo based search, and on a custom one are underway. Previous Comments: ------------------------------------------------------------------------ [2003-07-19 04:25:37] gmirchev at usa dot net Description: ------------ When I tried to enable the local search using the stock redhat htdig package instead of compiling it myself it just kept telling me 'There was an error executing this query.' I found out that htdig couldn't find the configuration file (php.conf) which as the the site says should go into /usr/local/htdig/conf. Unfortunately redhat htdig is configured with /etc as it's configuration directory. I've solved the problem by adding this line in htphp.sh (which is in the mirrorkit.tgz) export CONFIG_DIR=/usr/local/htdig/conf Reproduce code: --------------- #!/bin/sh HTBINDIR=/usr/bin QUERY_STRING="$@" REQUEST_METHOD=GET export CONFIG_DIR=/usr/local/htdig/conf export QUERY_STRING REQUEST_METHOD $HTBINDIR/htsearch ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24714&edit=1

« previous php.mirrors (#19394) next »