[Zope] zope, apache and mailman - configuration help

Mike Renfro renfro@tntech.edu
Wed, 31 Oct 2001 16:14:26 -0600


On Wed, Oct 31, 2001 at 03:11:25PM -0500, Larry Prikockis wrote:

> I'm trying now to set up mailman in that same virtual domain and
> having a devil of a time getting all the rewriting & aliasing and
> whatnot straight.

The following is the relevant portion of my httpd.conf (using Debian
packages for Zope, Apache, and Mailman), and it is working:

NameVirtualHost ch208h.cae.tntech.edu
<VirtualHost www.cae.tntech.edu>
  ServerName www.cae.tntech.edu
  DocumentRoot /var/www
  ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman
  Alias /pipermail/ /var/lib/mailman/archives/public/
  ProxyRequests on
  ProxyVia full

  <Directory /var/lib/mailman/archives/public>
    Options FollowSymLinks
  </Directory>

  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteLog "/var/log/apache/rewrite_log"
    RewriteLogLevel 0
    RewriteRule ^/local/ - [L]
    RewriteRule ^/icons/ - [L]
    RewriteRule ^/~(.*) - [L]
    RewriteRule ^/cgi-bin/ - [L]
    RewriteRule ^/doc/ - [L]

    RewriteRule ^/mailman/ - [L]
    RewriteRule ^/pipermail/ - [L]

    RewriteRule ^/(.*) http://localhost:9673/VirtualHostBase/http/www.cae.tntech.edu:80/CAE/VirtualHostRoot/$1 [P]
  </IfModule>
</VirtualHost>

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu