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/
[EMAIL PROTECTED]          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




_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to