zope, apache and mailman - configuration help
Hi... ok, I've suceeded in setting up Zope (2.4.1) behind Apache using mod_rewrite and virtual host monster to serve zope content from a virtual domain. 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. at: http://www.zope.org/Members/michel/HowTos/ApacheRewriting Michel Pelletier describes *exactly* my situation, however, I can't seem to get things working as he outlines. I'm quite new to using mod_rewrite, but it seems that there are some problems with the rules he suggests. Can anyone clarify Michel's example for me? or suggest what type of rewrite rule I ought to use to get /mailman/ and /pipermail/ correctly directed to where they belong? thanks much! + Larry J. Prikockis Internet Systems Specialist, ABI (effective in November, ABI will be known as NatureServe) ph:703-908-1833 / fax:703-908-1917 / Email:larry_prikockis@abi.org www.abi.org * www.natureserve.org * www.infornatura.org + All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925
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/Virtual... [P] </IfModule> </VirtualHost> -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (2)
-
Larry Prikockis -
Mike Renfro