[Zope] Newbie q: Name.error at startup

Phil Harris phil@philh.org
Thu, 10 Jun 1999 09:12:37 +0100


I may just have the answer,

after installing Zope 2.0.0a1 on RedHat 5.2, Python 1.5.2 I had to make a
slight adjustment to the RewriteRule :-

From:

RewriteRule ^/Zope/(.*) /usr/local/apache/cgi-bin/Zope.cgi/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]


To:

RewriteRule ^/Zope(.*) /usr/local/apache/cgi-bin/Zope.cgi$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]

Notice the lack of '/' on both sides of the rule.  This was done because
when Zope was looking for certain parts of it's system, it was not finding,
update screens, management interfaces etc.

This seems to have cured it for the moment and all is now working great 8^).

HTH

Phil
phil@philh.org


----- Original Message -----
From: Michael Bernstein <mbernstein@profitscape.net>
To: <beddow01@globalnet.co.uk>
Cc: <zope@zope.org>
Sent: Wednesday, June 09, 1999 5:41 PM
Subject: Re: [Zope] Newbie q: Name.error at startup


> Michael Beddow wrote:
>
> > > >
> > > > Trying to get started with Zope, I've compiled
> > > 2.0.0a1 on RedHat
> > > > 5.2 with Python 1.5.2. No errors during compile,
> <snip>
> > I'm authenticated OK,
> > but then I get the error and the backtrace in my original
> > posting. The server logs show it happening,
> > first the 401 authentication challenge then the 500 of the
> > server error.
> >
> > wks01 - - [08/Jun/1999 19:57:41] "GET /manage HTTP/1.1" 401 -
> > wks01 - - [08/Jun/1999 19:57:50] "GET /manage HTTP/1.1" 500 -
> >
> > It's very frustrating reading about the great things Zope can do
> > and not being able to get off the ground with it. I thought
> > about getting a binary of 1.x.x instead, but I prefer to have
> > control of what goes where on my system, so I guess I'll have to
> > give up for now.
>
> Don't give up yet. When you compiled, did you use w_pcgi or wo_pcgi ?
>
> Here is a link to the instructions that I used:
> http://www.zope.org/pipermail/zope/1999-May/004670.html
>
> Also, did you install the RPMs for Python 1.5.2, or did you compile it
> yourself?
>
> Cheers,
>
> Michael Bernstein.
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>