Re: [Mailman-Users] Virtual host document root for mailman/listinfo
Hi, You should make something like this in your apache.conf (or whatever you call it apache conf. file) For SuSE for example do something like:
In /etc/apache2/default-server.conf (add these lines): ################## ## ## mailman ##
# Redirect queries to /mailman to the listinfo page (recommended) RedirectMatch /[/]*$ http://mylists.com/mailman/listinfo
## ## end mailman ## ##################
Regards, Leon Kolchinsky
-----Original Message----- From: mailman-users-bounces+lkolchin=univ.haifa.ac.il@python.org [mailto:mailman-users-bounces+lkolchin=univ.haifa.ac.il@python.org] On Behalf Of Christian Anton Sent: Thursday, September 22, 2005 12:48 PM Cc: mailman-users@python.org Subject: Re: [Mailman-Users] Virtual host document root for mailman/listinfo
Tom Combs wrote:
Hello,
I'm running mailman-2.1.6rc4 and apache-2.0.54. I have a virtual host set up for my mailman web interface. I would like the listinfo page to be the default page for my mailman web address so one can enter http://mylists.com instead of http://mylists.com/mailman/listinfo. I haven't been able to figure out what the document root setting for the mylists virtual host setting should be in the apache http.conf file. Can anyone point me in the right direction?
Thanks, Tom Combs
sorry Tom, first mail was replied falsely, wanted to send it to the list, not to you....
I made it simple, i have put a directory "htdocs" in /home/mailman, where my mailman is installed (because of settings in suExec that does not allow to execute cgi's that are not in wwwroot), in the lists.<mydomain>.<tld> vhost i have DocumentRoot in /home/www/htdocs, in there is one html-File with this content:
<html> <head> <title>Redirection</title> <meta http-equiv="refresh" content="0; URL=mailman/listinfo"> </head> <body> If the redirection does not work, click <a href="mailman/listinfo">here</a>! </body> </html>
This is of course not a very fine solution but it works, and it works with virtual hosts too, just give every apache vhost for which you have mailinglists the DocumentRoot /home/mailman/htdocs.
Greets
Christian
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users 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-users/lkolchin%40univ.haifa.a...
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
participants (1)
-
lkolchin@univ.haifa.ac.il