[Zope] Zope/manage problem
Scott Thomas Haug
sth2@cs.wustl.edu
Tue, 14 Sep 1999 08:06:37 -0500
Many thanks! It *did* work like a dream. I appreciate all of your prompt and
curteous responses.
-Scott
On Tue, 14 Sep 1999, Phil Harris wrote:
> I also had trouble with this and removing the slash works perfectly (at
> least for me).
>
> There doesn't seem to be any rhyme or reason to this, for example I have to
> have different RewriteRules on two machine which to all intents and purposes
> are identical :¬|
>
> Anyway, give a try and it'll work a dream.
>
> HTH
>
> Phil
> phil@philh.org
>
>
> ----- Original Message -----
> From: Stuart Woolford <stuartw@newmail.net>
> To: Evan Simpson <evan@4-am.com>; <sth2@cs.wustl.edu>
> Cc: <zope@zope.org>
> Sent: Tuesday, September 14, 1999 8:45 AM
> Subject: Re: [Zope] Zope/manage problem
>
>
> > 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.
> > ------------------------------------------------------------
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://www.zope.org/mailman/listinfo/zope
> >
> > (To receive general Zope announcements, see:
> > http://www.zope.org/mailman/listinfo/zope-announce
> >
> > For developer-specific issues, zope-dev@zope.org -
> > http://www.zope.org/mailman/listinfo/zope-dev )
> >