All -
In my conifg I use an email address to a second system that keeps the Monarch web archive of the lists. So any message sent to archiver@monarch.ibm.com will end up being added to the appropriate archive.
The listinfo page has an url to the archive location which points to the pipermail archives on the local system. Is there a setting that I can use to redirect this url or will I have to change it on the template html manually?
-- Regards, Scott Russell (scottrus@raleigh.ibm.com) Linux Technology Center, System Admin Red Hat Certified Engineer
On Thu, 24 Feb 2000, Scott Russell wrote:
The listinfo page has an url to the archive location which points to the pipermail archives on the local system. Is there a setting that I can use to redirect this url or will I have to change it on the template html manually?
You can change this in your web server's configuration. I'll assume
your using Apache. When you setup Mailman, you had to add some Alias directives to your http.conf or srm.conf. Ex:
Alias /pipermail/ /home/mailman/archives/public/ Alias /mailman/archives/ /home/mailman/archives/public/
(The second is of my own doing for added URL continuity.)
According to apache's docs, you should be able to replace these with
Redirect directives like so:
#Redirect /service http://foo2.bar.com/service Redirect /pipermail/ http://wherever.com/blah.html Redirect /mailman/archives/ http://wherever.com/blah.html
Does that help?
~ Rick ~
-- .oooO "Man with closed Oooo. Rick C. Niess ( ) mouth gathers ( ) University of Southern Miss. \ ( no foot!" ) / resnet@usm.edu --\ )------------------(_/-------------------------------
On Thu, 24 Feb 2000, Rick Niess wrote:
You can change this in your web server's configuration. I'll assume
your using Apache. When you setup Mailman, you had to add some Alias directives to your http.conf or srm.conf. Ex:
Alias /pipermail/ /home/mailman/archives/public/ Alias /mailman/archives/ /home/mailman/archives/public/
(The second is of my own doing for added URL continuity.)
can you do this if you've already defined a ScriptAlias /mailman for the cgi-bin programs as it recommends in the INSTALL doc?
this is why i sent a message a few days ago to this list and the developers list, suggesting that the private cgi-bin program be modified slightly to allow it to access public archives without authentication. check the list archives, my message is in there.
the modifications to private.py are trivial and it has several advantages:
- makes the interfaces to archives, whether private or public, more uniform
- eliminate the need for both an Alias and ScriptAlias in the web server config
- eliminates the need for the archives/public directory of links
i'm using this method myself now on my mailman server with a mhonarc/glimpse/wilma external archiver and the pipermail archiver disabled.
i've attached the diff to mailman-1.1/Mailman/Cgi/private.py.
--
Todd Pfaff \ Email: pfaff@mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University
Hamilton, Ontario, Canada L8S 4M1 \
Rick -
Yup, that does help. Obviously we should be able to do this within Mailman (config directive I think) and that's where I was heading. I knew I could modify the default templates but that's ugly when it comes to upgrade time.
Using the redirect with apache is a bit cleaner.
Thanks for the help!
-- Scott
On Thu, Feb 24, 2000 at 03:08:46PM -0600, Rick Niess wrote: > On Thu, 24 Feb 2000, Scott Russell wrote:
The listinfo page has an url to the archive location which points to the pipermail archives on the local system. Is there a setting that I can use to redirect this url or will I have to change it on the template html manually?
You can change this in your web server's configuration. I'll assume
your using Apache. When you setup Mailman, you had to add some Alias directives to your http.conf or srm.conf. Ex:
Alias /pipermail/ /home/mailman/archives/public/ Alias /mailman/archives/ /home/mailman/archives/public/
(The second is of my own doing for added URL continuity.)
According to apache's docs, you should be able to replace these with
Redirect directives like so:
#Redirect /service http://foo2.bar.com/service Redirect /pipermail/ http://wherever.com/blah.html Redirect /mailman/archives/ http://wherever.com/blah.html
Does that help? ~ Rick ~
-- .oooO "Man with closed Oooo. Rick C. Niess ( ) mouth gathers ( ) University of Southern Miss. \ ( no foot!" ) / resnet@usm.edu --\ )------------------(_/-------------------------------
-- Regards, Scott Russell (scottrus@raleigh.ibm.com) Linux Technology Center, System Admin Red Hat Certified Engineer
participants (3)
-
Rick Niess
-
Scott Russell
-
Todd Pfaff