some help with document root for mailman lists

Andy Green andy at warmcat.com
Wed Jul 4 21:48:38 UTC 2007


Frank Cox wrote:
> On Wed, 04 Jul 2007 16:18:06 -0500
> Scott Berry <sberry at 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 at 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




More information about the users mailing list