php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24714 Mirroring with local search using the stock redhat htdig package
Submitted: 2003-07-19 04:25 UTC Modified: 2003-07-19 07:20 UTC
From: gmirchev at usa dot net Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Redhat Linux 8.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gmirchev at usa dot net
New email:
PHP Version: OS:

 

 [2003-07-19 04:25 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-19 07:20 UTC] goba@php.net
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.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Jun 19 01:00:02 2026 UTC