Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 88746
Summary: | common_dir not set properly | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mark Miksis <mark.nospamplease> |
Component: | htdig | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | grdetil, jonathanbaron7, rvokal, sjcjonker |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-09-02 13:32:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Miksis
2003-04-12 23:29:15 UTC
OK, simple: ${common_dir} isn't set, so it needs to be replaced with /usr/share/htdig/ I'll see that this gets fixed in the default config. Read ya, Phil OK, simple: ${common_dir} isn't set, so it needs to be replaced with /usr/share/htdig/ I'll see that this gets fixed in the default config. Read ya, Phil *** Bug 91074 has been marked as a duplicate of this bug. *** *** Bug 98880 has been marked as a duplicate of this bug. *** As an ht://Dig developer, I'd like to shed some insight into this problem, which by the way does not seem to be fixed in rawhide, as far as I can tell from looking at htdig-3.2.0-19.20030601.src.rpm from that distro. The problem stems from confusion about the "common" directory vs. the image directory, which really ought to be two separate things. The Red Hat RPMs merge these two together, but then confusion ensues as to what they should be called and where they should be placed. They're initially put together in /var/www/html/htdig, but then moved to /usr/share/htdig. Trouble is, the binaries still think they're in the former directory. The --with-common-dir argument to configure should be changed to specify the directory's real, final resting place. So should --with-image-dir and --with-search-dir if you really want to keep all files in the same directory. However, it would be better still to keep common and image directories separate, so that the configuration files (templates) in the common directory are not directly accessible from the web (and thus potentially revealing configuration information to the public). If you keep them separate, the image directory need only be part of the htdig-web package, and then the Apache configuration file for the directory's Alias is no longer needed. Either way, the changes to the .spec file would be fairly trivial, but I can supply patches if you'd like. |