#24714 [NEW]: Mirroring with local search using the stock redhat htdig package
| From: | gmirchev at usa dot net | Date: | Sat, 19 Jul 2003 09:25:37 +0000 |
| Subject: | #24714 [NEW]: Mirroring with local search using the stock redhat htdig package | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19391@lists.php.net to get a copy of this message | ||
From: gmirchev at usa dot net
Operating system: Redhat Linux 8.0
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: Mirroring with local search using the stock redhat htdig package
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 bug report at http://bugs.php.net/?id=24714&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24714&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24714&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24714&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24714&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24714&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24714&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24714&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24714&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24714&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24714&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24714&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24714&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24714&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24714&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24714&r=gnused