[Zope] - ZServer and RedHat

Amos Latteier amos@aracnet.com
Tue, 26 Jan 1999 12:41:15 -0800


At 11:11 AM 1/26/99 -0800, David Brown wrote:
>On Tue, Jan 26, 1999 at 11:06:02AM -0800, Amos Latteier wrote:
>> Wait a minute. Michel was describing how to switch from Zope's Python to
>> Redhat's Python. Part of his solution was to abandon his old object
>> database. 'Data.bbb' is the object database file. Moving it out of the var
>> directory means Zope can't see it, and will create a new empty object
>> database. 
>
>That's what I wanted to do.  I want to use my installed Python.
>
>And, to avoid the binary pickle problem, I moved my Data.bbb*'s
>somewhere where Zope cannot see them, just as you said.
>
>And now, when I run ZServer, everything starts up fine.
>
>When I ftp to ZServer, I can see all the normal files (standard_html_header,
>standard_html_footer, yadayada), with the exception of index_html.

Hmmm, all files should show up, even if you don't have permissions to
change them. Perhaps we should take this discussion off the Zope list, so I
can better analyze what's going on without boring everyone.

>But even when I put an index_html in there with FTP, it still doesn't
>want to serve it.

What URL are you using to access Zope through the web? The alpha version of
zope_handler set's your URL prefix to '/Main', so you would need to go to:

localhost:9673/Main/manage

To manage Zope through the web. Note: this default URL prefix may change in
the future.

My guess is that you are not seeing things though HTTP because you are
going to the wrong URL. Another good thing to do when you are not seeing
things you want to see is to set BOBO_DEBUG_MODE=1 and check the source of
the not found page. (OK, I admit, ZServer doesn't yet let you set arbitrary
environment variables ;-)

Don't forget that you can access Zope via FTP and HTTP at the same time.
It's particularly helpful to have the management screen open while you are
FTPing. Then you can do stuff like check out your changes to Documents.
It's particularly fun to make permission changes in the management screen
and see the file permissions change in FTP!

easily-amused-ly yrs,

-Amos