RE: [Zope] Two Questions: One Easy, One Not
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 )
I would also recommend looking at LocalFS which call files straight from the filesystem. It doesnt allow all the power and flexibility of loading it into Zope, but for large amounts of images etc works fine. This might confuse things a little though. Cheers. -- Andy McKay.
At 09:02 AM 5/10/2001 -0700, you wrote:
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
Cool! But where do I put it? The instructions don't appear to address this issue (I couldn't find any installation instructions). Do I put it in my Products directory? It doesn't seem to be a product per se, so should I put it in my python1.5 directory? Please advise. TIA, BenO
participants (3)
-
Andy McKay -
Ben Ocean -
sean.upton@uniontrib.com