[Mailman-Users] htDig in 2.0.7

Marc MERLIN marc_news at valinux.com
Tue Nov 27 02:03:11 CET 2001


On Mon, Nov 26, 2001 at 07:50:46PM +0100, Andre Dieball wrote:
> Hi
> 
> I'm trying to install htdig with Mailman 2.0.7.
> 
> I saw, that there are several patches available for that, but all of
> them are for 2.0.6

The changes between .6 and .7 should be so minor that the patch should apply
as is.

BTW, I had to apply this patch for htdig to work on my system:
--- HyperArch.py        Tue Oct  9 17:38:33 2001
+++ /var/local/mailman/Mailman/Archiver/HyperArch.py    Mon Oct 15 18:48:13 2001
@@ -810,6 +810,8 @@
         upath = os.path.join(mm_cfg.HTDIG_ARCHIVE_URL, listname)
 ## for some reason when I add index.html to the following URL, run fails ??
         starturl = self.maillist.GetScriptURL('htdig') + '/'
+       # some servers have https, but htdig doesn't dig that :-) -- Marc
+       starturl = re.sub("^https", "http", starturl)
         # htdig MUST go via the file system to generate its indices so
         # we need the url which maps to the list's private archive
         urlpath = starturl

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key




More information about the Mailman-Users mailing list