From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507
Description of problem:
I upgraded from RH7.3 to RH9 and htdig search did not
include the usual header and footer on the search output.
I solved the problem by adding the line
to my (various) htdig.conf files (some with different
names). This was the default location of htdig in earlier
versions. Could the RPM perhaps keep this? It took me
forever to find the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. upgrade to RH9, when htdig was already installed
2. try the search
Actual Results: No header and footer on search output (hence could only
see one page).
Expected Results: header and footer
(but I'm sure that common_dir is used for other things too)
It is possible that, at some point, I installed htdig from
source rather than from an RPM, but I don't remember, and
I do believe that I was using the RPM on RH 7.3 before I
upgraded to RH 9, and htdig worked fine. (I've been using
htdig through several versions.)
I reported this problem as a bug to htdig (731661) and the
response said that the problem was probably in the RPM.
Also, I _did_ try to search for it, but got no bugs associated
with htdig. Perhaps I did the search wrong. If so, sorry.
From an email from Gilles Detillieux <email@example.com>
about where common_dir points in the RPM:
They (RH) point it to /var/www/html/htdig. [...]
First of all they set common_dir
and image_dir to the same thing, then they move /var/www/html/htdig
to /usr/share/htdig. In previous RPMs, they then made a symlink from
/var/www/html/htdig (in the htdig-web package) over to /usr/share/htdig,
so that htsearch et al. only found the common files if you had installed
both htdig and htdig-web packages, and htsearch's images would only load
if you configure httpd to follow symlinks. Now, to resolve the latter
problem, they use an Apache Alias instead of a symlink, so the images
load, but nothing will find the common files unless you fix common_dir
in your htdig.conf.
*** This bug has been marked as a duplicate of 88746 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.