Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Romain Slootmaekers
Jeff Rush wrote: I had thought (obviously incorrectly) that mod_proxy was hard to configure correctly to pass all headers, particularly in complex virtual hosting scenarios. But I'm no Apache expert. funny, because that was the exactly the reason we chose mod_proxy over PCGI: the easy of

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Jamie Heilman
Romain Slootmaekers wrote: it's only 5 lines in your virtual host configuration. Did you remember to block VirtualHost{Base,Host} and _vh_* ? Actually there's a solid argument to be made for blocking any request with /_ in the path_info. -- Jamie Heilman

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Guido van Rossum
of course, you should also close port 8080 (or whatever your zope server runs on) from any access from hosts other than 127.0.0.1 Actually, I think you can do this already by *binding* that port only on 127.0.0.1. I believe there's a host parameter that lets you specify the host to bind to.

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Lennart Regebro
Jeff Rush wrote: Having only ever used Zope-behind-PCGI myself, if we drop it, what would be the prevailing approach for running Zope behind Apache? RewriteRules, and to a lesser extent, ProxyPass, has almost completely replaced any CGI method with Apache. However, I don't know the status

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Lennart Regebro
Jeff Rush wrote: I had thought (obviously incorrectly) that mod_proxy was hard to configure correctly to pass all headers, particularly in complex virtual hosting scenarios. No, that's when it's easy. :) The onlyhard part is getting the original IP adress into the logs, and most people simply

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Romain Slootmaekers
here's an edited repost from an answer I got from this mailing list. it has helped me with zope+apache (+ ssl) and is a good start for the documentation upgrade, (although I personally use the apache proxypass directives) -- original help from Leonardo Rochael Almeida [EMAIL PROTECTED] --

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Andy McKay
RewriteRules, and to a lesser extent, ProxyPass, has almost completely replaced any CGI method with Apache. However, I don't know the status with other servers, primarily IIS, so I think it shouldn't be dropped completely. Good point regarding IIS. I think its possible to make the ASP 404

[Zope-dev] POSKeyErrors

2003-02-14 Thread Brian R Brinegar
We are running Zope 2.5.1 and ZEO 1. When someone does an Undo it doesn't seem to update all of the ZEO clients consistently. Some ZEO clients reflect the undo, others sometimes show an older version of the database and sometimes we get POSKeyErrors. Any idea what causes this? It's an old version

Re: [Zope-dev] POSKeyErrors

2003-02-14 Thread Shane Hathaway
Brian R Brinegar wrote: We are running Zope 2.5.1 and ZEO 1. When someone does an Undo it doesn't seem to update all of the ZEO clients consistently. Some ZEO clients reflect the undo, others sometimes show an older version of the database and sometimes we get POSKeyErrors. Any idea what causes

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Leonardo Rochael Almeida
Beware, random notes below On Fri, 2003-02-14 at 11:24, Romain Slootmaekers wrote: here's an edited repost from an answer I got from this mailing list. it has helped me with zope+apache (+ ssl) and is a good start for the documentation upgrade, (although I personally use the apache proxypass

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Shane Hathaway
Leonardo Rochael Almeida wrote: I believe we should have a proper persitent protocol, either PGCI or FastCGI (but probably not both, to avoid confusion), to connect Zope and front-end webservers and we should also make an effort to keep the connectors from major HTTP servers to those protocols in

[Zope-dev] PyCon DC 2003 Sprints

2003-02-14 Thread Jeremy Hylton
PyCon DC 2003 Sprints: Call for Participation http://www.python.org/cgi-bin/moinmoin/SprintPlan We are seeking coaches and participants for the sprint sessions preceding PyCon DC. A sprint is a two or three day focused development session, in which developers pair in a room and focus on building

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Jamie Heilman
Leonardo Rochael Almeida wrote: RewriteRule ^(.*)$ http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:%{SERVER_PORT}/some/folder/VirtualHostRoot$1 [P,L] This way you don't have to worry about what hostname the user uses to access their site. Ugh. The host header should be considered

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Chris Withers
Andy McKay wrote: Unfortunately thats more a matter of documentation inertia more than anything. There are more articles on Zope.org about PCGI as well simply because it has been around the longest, although almost everyone I know runs through mod_proxy nowadays. I'd actually say it's