[Zope] Zope+Apache config

Michel Pelletier michel@digicool.com
Tue, 07 Sep 1999 20:51:23 -0400


Tim Wilson wrote:
> 
> On Tue, 7 Sep 1999, Steve Spicklemire wrote:
> 
> > is Zope.cgi a link or a real file? If it's a link
> > you may also need FollowSymLinks:
> 
> I copied Zope.cgi to /home/httpd/cgi-bin
> 
> My Apache config looks like this:
> 
> # Set up Rewriting for ZServer and Apache to play nice together.
> 
> RewriteEngine On
> RewriteLog logs/rewrite_log
> RewriteLogLevel 0
> 
> RewriteRule ^/mailman - [l]
> RewriteRule ^/pipermail - [l]
> RewriteRule ^/jacobsworld - [l]
> RewriteRule ^/cgi-bin - [l]
> RewriteRule ^/icons - [l]
> 
> RewriteCond %{HTTP:Authorization} ^(.*)
> RewriteRule ^/(.*) /home/httpd/Zope.cgi/$1
> [e=HTTP_CGI_AUTHORIZATION:%1,t=applic
> ation/x-httpd-cgi,l]

Your RewriteRule points to /home/httpd/Zope.cgi, but above you said you
put Zope.cgi in /home/httpd/cgi-bin.

-Michel