[Zope] Two Questions: One Easy, One Not
sean.upton@uniontrib.com
sean.upton@uniontrib.com
Thu, 10 May 2001 09:02:59 -0700
Your zope installation can be put where you decide you want to put it. You
can even just decide, if you feel so inclined to just run it as a normal
user in your personal UNIX home directory. As long as file permissions are
set up in a manner so that the user you have Zope running under has
permissions to read and execute stuff in Zope's lib/ directory, and that
there are permissions to write to files in Zope's var/ dir.
Keep in mind that everything you put into Zope, for the most part, resides
in the object database, which is a single file called data.fs, always open
for reading and writing while Zope is started. Your Zope installtion has
nothing to do with your Apache document root, and can be put anywhere on the
file system (and inside the doc root is obviously not a good idea). You can
then access Zope either directly with its builtin web server (ZServer), or
use Apache via PCGI or mod_proxy (proxying to Zope's builtin web server) as
a front end to Zope.
Zope's ZServer has a built-in FTP server, and supports Web-DAV and XML-RPC
through its web server. What you actually ftp to is not your UNIX
filesystem, but the hierarchy of the Zope object database presented as a
filesystem.
As for getting images into a database, consider looking into a python script
called "loadSite.py" - it loads a site hierarchy from a file system and puts
it into the ODB: http://www.zope.org/Members/itamar/load_site
Sean
-----Original Message-----
From: Ben Ocean [mailto:zope@thewebsons.com]
Sent: Thursday, May 10, 2001 8:01 AM
To: Tino Wildenhain
Cc: zope@zope.org
Subject: Re: [Zope] Two Questions: One Easy, One Not
At 05:13 PM 5/10/2001 +0200, you wrote:
>IF you want to use your images from zope, you have to import
>them into its database. You can do it via web-interface
>or via FTP or (Web-)DAV (the latter works somewhat with
>Internetexplorer Webfolder feature)
So, clearly, I need to put my Zope installation on the doc root. For some
reason (I presume security), I had put it below the doc root. Is security a
concern?
>2) Zope spawns serveral processes, thats normal. You find
>their process-ids (at least the ones of the parents) in
>var/Z2.pid
Yeah, I noticed that. But why does the server quit serving and need to be
restarted? How do I track this problem?
Thanks,
BenO
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )