[Mailman-Users] virtual hosts and https follow-up

Dan Collins bigtuner at comcast.net
Mon Aug 1 19:53:09 CEST 2005

Hello Vince, Mark and all --

Well, I ran the withlists program (duh! can't believe I forgot to do this) 
on the one list I want to run from the second-virtual -host only. But now 
(maybe before, too), I can go into any list under https xxx.org, https 
www.xxx.org, https www.second-virtual-host, but not just plain https 
second-virtual-host. (It recognizes the server Alias but not the server 
name). The confusion only appears to be happening with mailman.Yes, I 
restarted Apache. Obviously, this is not what I want and I should have just 
left well enough alone. Dang.

Vince, I have four virtual hosts on my machine (running Apache) - In 
httpd.conf,  I have the ip address with port 80 or 443 for each of the two 
hosts. I have mailman and pipermail set up for each host under the 443 port 
like so

<VirtualHost xxx.xx.xxx.xx:443>

Alias   /pipermail     "/usr/local/mailman/archives/public"

 <Directory "/usr/local/mailman/archives/public">
 AddDefaultCharset Off
 Options FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all

ScriptAlias /mailman    "/usr/local/mailman/cgi-bin"

<Directory "/usr/local/mailman/cgi-bin">
        Options ExecCGI FollowSymlinks MultiViews
   AllowOverride None
        Order allow,deny
        Allow from all

All enclosed in the <VirtualHost xxx.xx.xxx.xx:443> container for each host

----- Original Message ----- 
From: "Vince Van De Coevering" <vpv at figaros.com>
To: "'Dan Collins'" <bigtuner at comcast.net>; <Mailman-Users at python.org>
Sent: Monday, August 01, 2005 12:31 PM
Subject: RE: [Mailman-Users] virtual hosts and https

> Sorry for the top post but I really don't have any in-line comments...
> Dan,
> Is it safe to assume that you are using apache as your web server?
> Have you set up each of your virtual domains with its own IP address or 
> are
> you attempting to share the same IP address between multiple servers?  SSL
> doesn't support name based virtual hosting so you will need a unique IP
> address for each domain.
> Vince Van De Coevering
> IT Manager
> Figaro's Italian Pizza, Inc.
> 503-371-9318 x216
> vpv at figaros.com
>> -----Original Message-----
>> From: Dan Collins [mailto:bigtuner at comcast.net]
>> Sent: August 01, 2005 8:56 AM
>> To: Mailman-Users at python.org
>> Subject: [Mailman-Users] virtual hosts and https
>> Hello All -
>> With Mark Sapiro's help, I got Mailman running on my apache
>> virtual server, at least for the most important virtual host,
>> xxx.org.  I'd like to get Mailman to deliver from either of
>> my two virtual hosts both over https. I have mailman and
>> pipermail dirs set up in httpd.conf under each of the virtual
>> hosts. I'm using Sendmail.
>> So, before unsubscribing from this list, I have a couple of
>> questions. -
>> 1) In the mm_cfg.py file, I have
>> DEFAULT_EMAIL_HOST = 'xxxx.org'
>> DEFAULT_URL_HOST = 'xxxx.org'
>> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
>> VIRTUAL_HOSTS.clear()
>> doesn't need quotes, right? It worked fine without quotes)
>> add_virtualhost('second-virtual-host.com',
>> 'second-virtual-host.com') (NOTE: needs quotes or I get an
>> error message when running mailmanctl restart)
>> Right now, the list I want to run from second-virtual-host
>> and its admin pages come up under https://xxxx.org . When I
>> try to use the web interface from
>> second-virtual-host/mailman/admin/list-name, I get 404 error
>> still under https://xxxx.org .
>> I changed the list setting to second-virtual-host.com, so now
>> Overview at the bottom of the page includes
>> second-virtual-host.com, but all links at the bottom of the
>> page (including Overview) shows the url as https://xxxx.org .
>> In other words, I can not reach the list from
>> second-virtual-host.com, either http or https.
>> I hope that this message is clear enough to spell out my
>> problem and hopefully initiate a useful response.
>> Thanks as always.
>> Dan
>> ------------------------------------------------------
>> Mailman-Users mailing list
>> Mailman-Users at 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/vpv%40figaros.com
>> Security Policy:
>> http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq
> 01.027.htp 

More information about the Mailman-Users mailing list