[Zope] Zope/manage problem
Stuart Woolford
stuartw@newmail.net
Tue, 14 Sep 1999 19:45:15 +1200
On Tue, 14 Sep 1999, Evan Simpson wrote:
> Scott Thomas Haug wrote:
>
> > RewriteRule ^/Zope/(.*) /home/httpd/cgi-bin/Zope.cgi/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
>
> It's a subtle, yet infuriating bug in the rewrite rule. When you manage your root, you're producing URLs like
> 'host:port/Zope?manage...'. Note the lack of a slash after 'Zope'. Try replacing '^/Zope/(.*)' with '^/Zope(.*)'
Will this work? I would think that by using Zope(.*) the Zope.cgi/$1 would
expand wrongly (although I have not tried it, it would expand I'm guessing to
an extra '/' character, giving a double-/, which may not be a problem??)
I've yet to need to address this problem, but can see it heading my way..
------------------------------------------------------------
Stuart Woolford, stuartw@newmail.net
Unix Consultant.
Software Developer.
Supra Club of New Zealand.
------------------------------------------------------------