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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 15:01:31 2024 UTC