[Zope] Zope and Apache: root of ZODB reference problem?
Ty Sarna
tsarna@endicor.com
8 Jan 2000 17:57:35 GMT
In article <947240550.3875be6668d00@webmail.tf.ipen.br>,
<menezes@curiango.ipen.br> wrote:
> Quoting Darran Edmundson <dee124@rsphy1.anu.edu.au>:
>
> > RewriteRule ^/optics/(.*) /usr/local/apache/cgi-bin/Zope.cgi/$1
> > [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
>
> Hi,
>
> I had this same problem here. I solved it with an additional rule
> before the above. In my case is something like:
>
> RewriteRule ^/Zope$ /Zope/ <--- fix missing ending slash
> RewriteRule ^/zope$ /Zope/ [R] <-- fix lower case url (rewriting it)
> RewriteCond %{HTTP:Authorization} ^(.*)
> RewriteRule ^/Zope/(.*) /usr/lib/cgi-bin/Zope/$1 \
> [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
Another way to solve the problem is to use a pattern like ^/zope($|/)(.*)