
At 17:49 29/05/2002 +0200, Zdenek Pizl wrote:
Just a point of clarification. Are you using the Mailman-htdig integration patches 444879 and 444884 posted on sourceforge?
If not ignore what follows.
If so the way you describe as fixing the problem will not last.
The link in htdig's CONFIG_DIR directory (looks like its /etc/htdig-mailman in your case) is a symbolic link to a directory in Mailman's file structures: $prefix/archives/htdig. This directory in turn contains one symbolic link per archived mailing list. These links point to $prefix/private/<listname>/htdig/<listname>.conf respectively, these being the per list htdig conf files.
Each Mailman list has its own htdig configuration file which is automatically generated by the code added to Mailman when the first message is posted to that list after installation of the patch.
[If you want to know why things are organized this way then think about dealing with the issue of security for private archives under search and the need to isolate list search indexes for lists from each other.]
The way you have fixed the problem will only apply to the list whose htdig conf file you have edited. I doubt you want to have a career editing these htdig conf files as a new one is created for each new archived mailing list on your system.
You really want to get at the root of your problem which is what is wrong with your htdig installation such that htsearch cannot find the default htdig COMMON_DIR. The ./configure and make install for htdig should have branded this information into the htsearch CGI program. For the sake of your future sanity I strongly suggest you take a hard look at your htdig installation and correct what has gone wrong.
If you are really determined not to fix the htdig side of things then it is possible to change the code that generates the htdig conf files for the lists to try and compensate. If you want I'll point you in the direction of the source code to change but at that point you'll have to be your own support person for the revised code.
participants (1)
-
Richard Barrett