Hello there,
I am trying to create "lists.pilotalk.com" for myh mailman mailing lists. Would some one either be kind enough to send me a copy of their apache configuration file to look at so I can see how you tell the "VirtualHost" in Apache where the document root is for mailman please?
Scott
On Wed, 04 Jul 2007 16:18:06 -0500 Scott Berry sberry@northlc.com wrote:
I am trying to create "lists.pilotalk.com" for myh mailman mailing lists. Would some one either be kind enough to send me a copy of their apache configuration file to look at so I can see how you tell the "VirtualHost" in Apache where the document root is for mailman please?
<VirtualHost *:80> DocumentRoot /home/www </Virtualhost>
<VirtualHost 192.168.0.5:80> ServerAdmin webmaster@example.com DocumentRoot /home/www ServerName www.example.com </VirtualHost>
Frank Cox wrote:
On Wed, 04 Jul 2007 16:18:06 -0500 Scott Berry sberry@northlc.com wrote:
I am trying to create "lists.pilotalk.com" for myh mailman mailing lists. Would some one either be kind enough to send me a copy of their apache configuration file to look at so I can see how you tell the "VirtualHost" in Apache where the document root is for mailman please?
<VirtualHost *:80> DocumentRoot /home/www
</Virtualhost>
<VirtualHost 192.168.0.5:80> ServerAdmin webmaster@example.com DocumentRoot /home/www ServerName www.example.com
</VirtualHost>
Mailman needs some extra magic inside the VirtualHost block
<VirtualHost whatever.com:80>
...
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory>
Alias /pipermail/ /var/lib/mailman/archives/public/ <Directory /var/lib/mailman/archives/public> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
</VirtualHost>
-Andy
Andy and Todd,
Great help but one question for you Todd the redirect doesn't work quite right when going from http://lists.pilotalk.com it brings up my web site rather than the mailman lists. Other than that everything went sweet. I actually combined Andy[s and Todd's virtual hosts in to one to get the best of both worlds and meet all the requirements for Mailman and this seems to be the only line that does not work. -----
Original Message ----- From: "Andy Green" andy@warmcat.com To: "For users of Fedora" fedora-list@redhat.com Sent: Wednesday, July 04, 2007 4:48 PM Subject: Re: some help with document root for mailman lists
Frank Cox wrote:
On Wed, 04 Jul 2007 16:18:06 -0500 Scott Berry sberry@northlc.com wrote:
I am trying to create "lists.pilotalk.com" for myh mailman mailing lists. Would some one either be kind enough to send me a copy of their apache configuration file to look at so I can see how you tell the "VirtualHost" in Apache where the document root is for mailman please?
<VirtualHost *:80> DocumentRoot /home/www
</Virtualhost>
<VirtualHost 192.168.0.5:80> ServerAdmin webmaster@example.com DocumentRoot /home/www ServerName www.example.com
</VirtualHost>
Mailman needs some extra magic inside the VirtualHost block
<VirtualHost whatever.com:80>
...
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all
</Directory>
Alias /pipermail/ /var/lib/mailman/archives/public/ <Directory /var/lib/mailman/archives/public> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all
</Directory>
</VirtualHost>
-Andy
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM
Scott Berry wrote:
Andy and Todd,
Great help but one question for you Todd the redirect doesn't work quite right when going from http://lists.pilotalk.com it brings up my web site rather than the mailman lists.
Hmmm, checking the site I have this running on, it doesn't work there either (though there are some other redirect rules in play there as well that might be screwing things up). I set this up a long time ago and I have a vague recollection that it didn't work from /, though it did from /mailman/. I might have some crack in my regex or I'm missing some important detail of RedirectMatch.
Other than that everything went sweet.
Cool.
I actually combined Andy[s and Todd's virtual hosts in to one to get the best of both worlds and meet all the requirements for Mailman and this seems to be the only line that does not work.
Perhaps if you post it someone will recognize the problem and point out a solution?
Okay here is what I have for my virtual host for lists.pilotalk.com:
# Virtual Host for lists.pilotalk.com <VirtualHost http://lists.pilotalk.com:80%3E ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ServerName lists.pilotalk.com ServerAdmin listdude@pilotalk.com # redirect queries to / or /mailman to the listinfo page RedirectMatch ^/(mailman[/]+)?$ http://www.pilotalk.com/mailman/listinfo </VirtualHost>
On Wed, 2007-07-04 at 19:15 -0500, Scott Berry wrote:
Andy and Todd,
Great help but one question for you Todd the redirect doesn't work quite right when going from http://lists.pilotalk.com it brings up my web site rather than the mailman lists. Other than that everything went sweet. I actually combined Andy[s and Todd's virtual hosts in to one to get the best of both worlds and meet all the requirements for Mailman and this seems to be the only line that does not work.
Try this:
<VirtualHost *:80> ServerName list.pilotalk.com Redirect /index.html http://list.pilotalk.com/mailman/listinfo ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ RedirectMatch ^/mailman[/]*$ http://list.pilotalk.com/mailman/listinfo </VirtualHost>
It's similar to what I use.
Original Message ----- From: "Andy Green" andy@warmcat.com To: "For users of Fedora" fedora-list@redhat.com Sent: Wednesday, July 04, 2007 4:48 PM Subject: Re: some help with document root for mailman lists
Frank Cox wrote:
On Wed, 04 Jul 2007 16:18:06 -0500 Scott Berry sberry@northlc.com wrote:
I am trying to create "lists.pilotalk.com" for myh mailman mailing lists. Would some one either be kind enough to send me a copy of their apache configuration file to look at so I can see how you tell the "VirtualHost" in Apache where the document root is for mailman please?
<VirtualHost *:80> DocumentRoot /home/www
</Virtualhost>
<VirtualHost 192.168.0.5:80> ServerAdmin webmaster@example.com DocumentRoot /home/www ServerName www.example.com
</VirtualHost>
Mailman needs some extra magic inside the VirtualHost block
<VirtualHost whatever.com:80>
...
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all
</Directory>
Alias /pipermail/ /var/lib/mailman/archives/public/ <Directory /var/lib/mailman/archives/public> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all
</Directory>
</VirtualHost>
-Andy
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM
On Wed, 2007-07-04 at 19:15 -0500, Scott Berry wrote:
Great help but one question for you Todd the redirect doesn't work quite right when going from http://lists.pilotalk.com it brings up my web site rather than the mailman lists.
At the moment http://lists.pilotalk.com/ shows the same page as http://www.pilotalk.com/ and http://pilotalk.com/. They all show your list page.
To be honest, I'm not sure why you'd want to bother with extra subdomains. You can use the same domain name for everything, and just change the URI path to the right of the domain name for different things.
The main reason for the lists.pilotalk.com was to make it easier for people who visit my site to get to the lists with ease. but yes your right I could just doo www.pilotalk.com/mailman that seems to work also. Think I will do that.
Scott ----- Original Message ----- From: "Tim" ignored_mailbox@yahoo.com.au To: "For users of Fedora" fedora-list@redhat.com Sent: Wednesday, July 04, 2007 11:18 PM Subject: Re: some help with document root for mailman lists
On Wed, 2007-07-04 at 19:15 -0500, Scott Berry wrote:
Great help but one question for you Todd the redirect doesn't work quite right when going from http://lists.pilotalk.com it brings up my web site rather than the mailman lists.
At the moment http://lists.pilotalk.com/ shows the same page as http://www.pilotalk.com/ and http://pilotalk.com/. They all show your list page.
To be honest, I'm not sure why you'd want to bother with extra subdomains. You can use the same domain name for everything, and just change the URI path to the right of the domain name for different things.
-- [tim@bigblack ~]$ rm -rfd /*^H^H^H^H^H^H^H^H^H^Huname -ipr 2.6.21-1.3228.fc7 i686 i386
Using FC 4, 5, 6 & 7, plus CentOS 5. Today, it's FC7.
Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM
On Thu, 2007-07-05 at 06:34 -0500, Scott Berry wrote:
The main reason for the lists.pilotalk.com was to make it easier for people who visit my site to get to the lists with ease. but yes your right I could just doo www.pilotalk.com/mailman that seems to work also. Think I will do that.
I don't know if one's really easier than the other. If they're following links on a page, one's no better or worse than the other. If you only want to have to tell people one website to look at, just using one domain name is less explaining (i.e. go to *the* website, follow the mail link, versus, go this website for this reason, or go to that website for that reason). If you use SSL (HTTPS), or might do, it'll be easier with just one domain name. Food for thought... Take the route that involves less hassles.
Scott Berry wrote:
I am trying to create "lists.pilotalk.com" for myh mailman mailing lists. Would some one either be kind enough to send me a copy of their apache configuration file to look at so I can see how you tell the "VirtualHost" in Apache where the document root is for mailman please?
The Fedora mailman package installs /etc/httpd/conf.d/mailman.conf, which contains the right mailman config. It should just work without any twiddling. If you do need to copy some of it into a particular VirtualHost so that you can tweak it, it should serve as a good starting point.
As far as the VirtualHost directive, I've got this on an older apache server:
<VirtualHost *> ServerName lists.example.com ServerAdmin listman@example.com # redirect queries to / or /mailman to the listinfo page RedirectMatch ^/(mailman[/]+)?$ http://lists.example.com/mailman/listinfo </VirtualHost>
The settings from /etc/httpd/conf.d/mailman.conf take care of the other details.
Also, ff you haven't already, take a look at the packages install doc to make sure you've followed the needed setup steps:
/usr/share/doc/mailman-2.1.9/INSTALL.REDHAT
(Mailman is one of those packages that needs some finishing work after the package is installed.)
Hi Todd,
Yeah I saw that Mailman needed some finishing work. It seems to work fine here though. I will definitely look over your example in a while. I have got to take a break I have been fiddling with this most of the day.
Scott ----- Original Message ----- From: "Todd Zullinger" tmz@pobox.com To: fedora-list@redhat.com Sent: Wednesday, July 04, 2007 4:47 PM Subject: Re: some help with document root for mailman lists
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--------------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM