Re: [Zope] What if you can use Zope on development server only?
I originally tried running Zope at pair.com, where I didn't have root access to the box. I *did* have the ability to run CGIs and telnet in, however. You can get Zope running in such a scenario. And, if they're running Apache with mod_rewrite, you can even make Zope serve up your site's root.
Kevin, thanks for the information! I do have CGI and telnet ability with this host, but I'm surprised that's sufficient to run Zope with. I thought Zope would require a tighter integration with the web server (e.g., a mod_zope or something that needs to be compiled in so that Zope can catch special Zope-intended requests), and that I'd need root to install it. Do I have a misunderstanding of how Zope relates to the web server? Is simple CGI access really enough to install and run Zope? I was basing my understanding on the architecture documentation at http://www.zope.org/ZopeArchitecture and http://classic.zope.org:8080/Information/Components.
One note though: many ISPs don't want you to run a long-lived process. If that's their policy, then you'll run into trouble that way.
Hmm... interesting. I'll have to look into that; thanks for the heads up.
As far as running separate development and production servers, I believe you can get something going. I think someone made a Product that will mirror your Zope database in separate files. You'll lose all of Zope's cool dynamic ability, but you'll at least be able to take advantage of the content management.
Yep... that's the tradeoff I figured I would have to accept. I was even thinking I'd have to possibly write my own mirroring script, but wanted to see if there was a better way first. Do you remember anything else about that product which might help me do a web search for it better (e.g., it definitely used the word "mirror", used the word synchronize a lot, etc.). thanks, Anthony ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
----- Original Message ----- From: "Anthony Thompson" <artdruid@hotmail.com> To: <zope@zope.org> Sent: Tuesday, March 14, 2000 5:13 PM Subject: Re: [Zope] What if you can use Zope on development server only?
Do I have a misunderstanding of how Zope relates to the web server?
Is
simple CGI access really enough to install and run Zope? I was basing my understanding on the architecture documentation at http://www.zope.org/ZopeArchitecture and http://classic.zope.org:8080/Information/Components.
If you use PCGI, Zope will work in a standard CGI environment. PCGI (Persistent CGI) keeps Zope itself around in memory so that it does not need to be loaded with each hit. However, you do pay the "fork tax", because the small PCGI program needs to run. I don't know a lot about fastcgi, but you may even be able to do that without root and eliminate the fork tax.
Yep... that's the tradeoff I figured I would have to accept. I was even thinking I'd have to possibly write my own mirroring script, but
wanted
to see if there was a better way first. Do you remember anything else about that product which might help me do a web search for it better (e.g., it definitely used the word "mirror", used the word synchronize a lot, etc.).
How 'bout a URL: http://www.zope.org/Members/rossl/ZMirror Kevin
On Tue, 14 Mar 2000, Kevin Dangoor wrote:
If you use PCGI, Zope will work in a standard CGI environment. PCGI (Persistent CGI) keeps Zope itself around in memory so that it does not need to be loaded with each hit. However, you do pay the "fork tax", because the small PCGI program needs to run. I don't know a lot about fastcgi, but you may even be able to do that without root and eliminate the fork tax.
<PLUG mode="SHAMELESS"> You can eliminate even this fork tax by using Apache module, written by me: http://www.zope.org/Members/phd/mod_pcgi2 </PLUG> Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Anthony Thompson -
Kevin Dangoor -
Oleg Broytmann