[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    Re: [Zope] zope, apache and mailman - configuration help
From:       Mike Renfro <renfro () tntech ! edu>
Date:       2001-10-31 22:14:26
[Download RAW message or body]

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

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic