Home > gsoc > Getting Started with Pipermail web Interface on mailman 3

Getting Started with Pipermail web Interface on mailman 3

Apache Configuration (Reference):

Create a new file: /etc/apache2/mods-available/mailman.conf

Alias /pipermail/ <path to var_dir>/var/archives/public/
<Directory <path to var_dir>/var/archives/public>
Options +FollowSymLinks

Add a symlink in /etc/apache2/mods-enable
# cd /etc/apache2/mods-enabled
# ln -s /etc/apache2/mods-available/mailman.conf mailman.conf

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.

Advertisements
Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: