AE Somerville wrote:
>
>Related problems (from the 'fix'):
>
>1.    The HTML links are not working for the archive site, but it would be
>nice to have them functioning. 


They don't work because they are constructed using the
Archiver.GetBaseArchiveURL() method which doesn't use
Site.get_archpath(). For public archives, assuming you haven't changed
the default

PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'

I think you can put

PUBLIC_ARCHIVE_URL =
'http://%(hostname)s/pipermail/%(listname)s/%(listname)s'

(watchout for wrapped line) in mm_cfg.py to fix.

For private archives, you will need to edit the definition of
GetBaseArchiveURL() in Mailman/Archiver/Archiver.py or possibly you
can make the old URL work with a rewrite rule in your web server.


>2.    Possible larger ramifications from the alteration of this function
>that I cannot see yet.


The links in the archive itself are all relative, so that should be OK.
I think you're probably OK in general if you fix the stuff in 1), but
I haven't really looked hard enough to verify this. Of course, if you
patch Archiver.py, you have to maintain the patch across upgrades.


>Advice from the folks who are a lot more familiar with mailman would be
>great to point us at a more eloquent solution.


Brad has addressed your basic solution and suggested ways for further
reducing the size of the archives/private and archives/public
directories. Of course, you eventually have the same issue with the
lists/ directory.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to