[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]