[Zope] ZServer vs. Apache

Tony.McDonald@newcastle.ac.uk Tony.McDonald@newcastle.ac.uk
Wed, 4 Aug 1999 23:19:21 +0100 (BST)


> Is it either ZServer *or* Apache or can they work together?

I'm pretty sure you can do both.

You can run a ZServer on it's own default port (8080) or port 80 (if you have root access), this is 100% Zope.
 
You can also tell Apache to run PCGI so that it runs ZPublisher (I'm a little hazy here - I don't *think* you can use PCGI to run the Medusa-based ZServer), you might do this if you have content that needs to be served from static HTML or perhaps have some legacy code in, say, PHP3 - I have both these situations here, so I run a virtual server under Apache that uses ReWrite rules to pass off certain sub-parts of URLs to the existing PHP3/static HTML code, whilst letting all the other traffic go through to my Zope server.

(In fact, I just realise that although I'm running this stuff as described above, I'm not 100% sure about what it is I *am* running now!, how's that for inspiring confidence  - I hope a DC guy can give a definitive answer)

I'm in the process of turning my stuff into pure Zope/Python and will then run a 100% Zope site.  That way, I'm doing it at the moment, I can 'turn off' parts of our server as and when they are translated.

hth
tone