[Zope] Re: [Mailman-Users] Zope + Apache + Mailman

Jim Hebert jim@cosource.com
Mon, 22 May 2000 18:19:56 -0400 (EDT)


At the risk of posting something embarrassingly broken, here's what Works
For Us: ;-)

(My mailer propably will wrap some of these lines. Your paths will be
different. Yadda Yadda.)

    RewriteEngine on
    RewriteRule ^/static/(.*)   /home/httpd/html/$1 [l]
    #RewriteRule ^/images/(.*)   /home/httpd/images/$1 [l]
    #RewriteRule ^/icons/(.*)   /home/httpd/icons/$1 [l]
    RewriteRule ^/pipermail/(.*) /usr/local/mailman/archives/public/$1 [l]
    RewriteRule ^/cgi-bin/(.*)  /home/httpd/cgi-bin/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
    RewriteRule ^/mailman/(.*)  /usr/local/mailman/cgi-bin/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
    RewriteCond %{HTTP:Authorization}  ^(.*)
    RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]

I have no idea if this covers some corner case better or worse. =) 

I believe this comes from some example I found via zope.org but could be
wrong.

Best,
jim

-- 
Jim Hebert                                       http://www.cosource.com/
jim@cosource.com          The cooperative market for open source software

"Well actually I was considering opening a market in flying pigs. Mostly
because it would be more practical...." -- Alan Cox