Fundamentally, my question is "should I try PCGI or FastCGI?", but first, some background. I'm planning on running Zope under Apache. While the site root will map to Zope, there are legacy applications I want to be able to run, thus the Apache. To avoid possible firewall hastles, I essentially want Zope and Apache operations taking place on the same port (80). For an authentication mechanism, I want to use LDAP. So I'm thinking that I'll be having Apache do the LDAP authentication, and add the RewriteRule to pass authentication info to Zope. But how should I run Zope? I'm not really clear on what works/is stable. It sounds like mod_pcgi2 is revision 0.1.0, so I'm nervous about going with that. And it sounds like the fastcgi support is relatively new to Zope, and requires that I fetch a development snapshot for fastcgi. Are there other options I haven't figured out yet? For those of you who have done this, what works for you? Thanks in advance for any advice.
On Tue, 28 Dec 1999, Art Hampton wrote:
It sounds like mod_pcgi2 is revision 0.1.0, so I'm nervous about going with that.
There is 0.1.2, but nothing changed in the code - I just added versioning scheme to include the module in AppWatch library. I am working on the module. It seems stable for me - I run some sites on it and use it to manage these sites. Look: (replace /pcgi/ with /Zope/ or vice versa to look these sites via mod_pcgi2 or Zope.cgi) http://sun.med.ru/pcgi/ http://sun.med.ru/pcgi/phd01 (this site require you to edit URLs manually replacing /Zope/ with /pcgi/; I hope it wouldn't hurt you too much :) http://sun.med.ru/pcgi/Random - two demos for my little toy Products; source code is here: http://sun.med.ru/~phd/Software/Zope/ I'd be very glad to hear any opinion on mod_pcgi2 - how it's compiled and worked for you. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
Oleg Broytmann wrote:
I'd be very glad to hear any opinion on mod_pcgi2 - how it's compiled and worked for you.
I haven't tried it yet. Those benchmarks are very impressive - mod_pcgi2 is almost twice as fast as regular PCGI. In the real world this wouldn't be so extreme I assume, since most pages would be bigger and therefore the overhead would be smaller. But that still looks very good. How about a comparision to mod_fastcgi? -- Itamar S.T. itamars@ibm.net
On Wed, 29 Dec 1999, Itamar Shtull-Trauring wrote:
How about a comparision to mod_fastcgi?
I cannot run it - I am using Russian Apache (specially patched version of Apache) which is essentially incompatible with mod_fastcgi. What is worse, FastCGI people rejected all our patches and suggestions. This is primary reason why I started to write mod_pcgi2. Without this incompatibility I certailnly would use fastcgi :) Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Art Hampton -
Itamar Shtull-Trauring -
Oleg Broytmann