Mailman w/ Zope and Appache.
hi, I need to get mailman going with Apache. I am on a Debian system, just installed the .deb with apt-get install mailman and it worked ok. I need a hand with the rewrite rules, Apache does not like the ones I have starting with the ^/maiman rule I get: garnet:/etc/apache# apachectl configtest Syntax error on line 333 of /etc/apache/httpd.conf: RewriteRule: bad flag delimiters Where line 333 is the like below that contains ^/mailman Here are all the rules: <IfModule mod_rewrite.c> RewriteEngine On RewriteLog "/var/log/apache/rewrite_log" RewriteLogLevel 0 RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://www.jsthrower.com:9673/jsthrower.com/$1 [P ] #RewriteRule ^/mailman - <a href="#l">[l]</a> #RewriteRule ^/pipermail - <a href="#l">[l]</a> #RewriteRule ^/cgi-bin - <a href="#l">[l]</a> #RewriteRule ^/icons - <a href="#l">[l]</a> #RewriteCond %{HTTP:Authorization} ^(.*) #RewriteRule ^/(.*) /usr/local/zope/Zope.cgi/$1 [e=HTTP_CGI_AUTHORIZA TION:%1,t=application/x-httpd-cgi,l] </IfModule> ...................... ..... Jason C. Leach ..
On Wed, Jun 20, 2001 at 09:08:56AM -0700, Jason C. Leach wrote:
RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://www.jsthrower.com:9673/jsthrower.com/$1 [P ]
These two are good, as you already know.
#RewriteRule ^/mailman - <a href="#l">[l]</a>
Change this one to: RewriteRule ^/mailman/ - [L] just like the /local/ rule above. Looks like you got some parsed structured text in your apache configs somehow. Similar examples at http://www.zope.org/Members/mwr in my Apache/Zope howto. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (2)
-
Jason C. Leach -
Mike Renfro