[Mailman-Developers] Apache configuration: Web Interface for archives in mm3

Dushyant Bansal cs5070214 at cse.iitd.ac.in
Sat May 21 20:19:31 CEST 2011


On Monday 16 May 2011 08:06 PM, Barry Warsaw wrote:
> The Pipermail archiver in MM3 currently integrates with Apache the same way
> that Mailman 2.1 did, so it's best to follow those directions for now.  This
> may eventually change, and the instructions are largely untested for MM3, but
> that's the best way to try to make it work for now.
The apache configuration worked for me.
Actually, there was one more problem. Pipermail was not generating 
static html files in the correct way.
Each of the static html files just contained the path to the required 
template files.

In function quick_maketext(), in file Archiver/HyperArch.py:
         template, filepath = find(templatefile, mailing_list=mlist, 
language=lang.code)

Here, find() just returns the path of template file to the 'template' 
variable whereas, it should return the contents of the template file.

In version 2.1, Utils.findtext() works fine.
         template, filepath = Utils.findtext(templatefile, lang=lang, 
raw=True, mlist=mlist)

So, after modifying find(), I can see Pipermail archives through a web 
interface. Now, I'll start looking at Yian's code on UI.

Regards,
Dushyant





More information about the Mailman-Developers mailing list