[Mailman-Users] MHonArc question

Nick Marouf marouni at earlham.edu
Mon Jul 3 22:55:13 CEST 2000


Hey Joe,
    Thanks alot for you help, This helped out a lot.
However I think I am missing something in one of my config files,  Cause when I go to check the archive, I am getting now


Index of /pipermail/test

    Name                    Last modified       Size  Description

    Parent Directory        03-Jul-2000 15:46      -

Apache/1.3.12 Server at nobu.earlham.edu Port 80

it is not creating the index.html if I am correct.

I also edited Defaults.py and set
PUBLIC_EXTERNAL_ARCHIVER = 1
PRIVATE_EXTERNAL_ARCHIVER = 1

any help would be helpful

thanks

nick




Joseph Gray wrote:

> Ok, two people have asked so far. Here is how I have MHonArc setup.
>
> To start, edit your "mm_cfg.py" file to define the external archiver (yes, both lines are the same command). I got the "mkdir" idea
> from someone else's posting. It didn't work w/o it:
>
> PUBLIC_EXTERNAL_ARCHIVER = """
> mkdir -p /home/mailman/archives/private/%(listname)s;/usr/local/bin/mhonarc -add
> -outdir /home/mailman/archives/private/%(listname)s -idxfname index.html
> -nosaveresources -rcfile /home/mailman/mhonarc.mrc
> """
> PRIVATE_EXTERNAL_ARCHIVER = """
> mkdir -p /home/mailman/archives/private/%(listname)s;/usr/local/bin/mhonarc -add
> -outdir /home/mailman/archives/private/%(listname)s -idxfname index.html
> -nosaveresources -rcfile /home/mailman/mhonarc.mrc
> """
>
> You will note from the above that "-rcfile" defines the location of the MHonArc resource file. Here is mine:
>
> <!-- MHonArc Resource File -->
> <!-- mhonarc.mrc 28 Jun 2000 Joe Gray -->
>
> <!-- Set umask -->
> <UMASK>
> 022
> </UMASK>
>
> <!-- Break index into multiple pages with 20 messages per page. -->
> <MULTIPG>
>
> <IDXSIZE>
> 20
> </IDXSIZE>
>
> <!-- Since MULTIPG is on, add more navigation links to Main index page.
> <ListBegin>
> <ul>
> <li><a href="$TIDXFNAME$">Thread Index</a></li>
> </ul>
> <table width="100%" border=0 cols=2 cellpadding=0 cellspacing=0>
> <tbody>
> <tr align="center">
> <th colspan=4>Page $PAGENUM$ of $NUMOFPAGES$
> <tr>
> <td align="left">$PGLINK(PREV)$
> <td align="right">[<a href="$PG(FIRST)$">First Page</a>]
> <td align="left">[<a href="$PG(LAST)$">Last Page</a>]
> <td align="right">$PGLINK(NEXT)$
> </tbody>
> </table>
> <hr>
> <ul>
> </ListBegin>
>
> <!-- Since MULTIPG is on, add more navigation links to Threaded index page.
> <THead>
> <ul>
> <li><a href="$IDXFNAME$">Date Index</a></li>
> </ul>
> <table width="100%" border=0 cols=2 cellpadding=0 cellspacing=0>
> <tbody>
> <tr align="center">
> <th colspan=4>Page $PAGENUM$ of $NUMOFPAGES$
> <tr>
> <td align="left">$PGLINK(TPREV)$
> <td align="right">[<a href="$PG(TFIRST)$">First Page</a>]
> <td align="left">[<a href="$PG(TLAST)$">Last Page</a>]
> <td align="right">$PGLINK(TNEXT)$
> </tbody>
> </table>
> <hr>
> <ul>
> </THead>
>
> <!--    Specify date sorting.-->
> <Sort>
>
> <!-- Show only these fields in the message header. -->
> <FieldOrder>
> to
> from
> date
> reply-to
> </FieldOrder>
>
> <!--    Change main index title to reflect date sorting. -->
> <TITLE>
> Mailing List Archive (by Date)
> </TITLE>
>
> <!--    Change threaded index title to reflect threading. -->
> <TTITLE>
> Mailing List Archive (Threaded)
> </TTITLE>
>
> <!--    Change format of Date Index listing. -->
> <LiTemplate>
> <LI><STRONG>$SUBJECT$</STRONG>,
> <EM>$YYYYMMDD$, $FROMNAME$</EM>
> </LI>
> </LiTemplate>
>
> <!--    Force plain text messages to wordwrap. -->
> <MIMEargs>
> text/plain;maxwidth=80
> </MIMEargs>
>
> For an explaination of these settings, read the MHonArc documentation on Resources. They are explained fairly well. You just have to
> figure out which ones you want to change. Note that I could have put the "idxfname" and "nosaveresources" options in the resource
> file instead of in the command line. Most resources are this way.
>
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/mailman-users/attachments/20000703/95dd4e24/attachment.html 


More information about the Mailman-Users mailing list