Home arrow Zope arrow Page 2 - Using Zope With Apache

A Few Good Reasons - Zope

So you've got your Apache server serving up static HTMLcontent, and you've got some cool new Zope applications as well. Now, incase you were wondering, it is possible for the twain to meet - and thisarticle tells you how, with a step-by-step guide to the process ofserving up your Zope content through Apache.

TABLE OF CONTENTS:
  1. Using Zope With Apache
  2. A Few Good Reasons
  3. When Persistence Pays Off
  4. The Writing On The Wall
  5. The Fast And The Furious
  6. Performing By Proxy
  7. Zip Zap Zoom
By: icarus, (c) Melonfire
Rating: starstarstarstarstar / 30
May 14, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
If you've been playing with Zope for a while, you already know that Zopecomes with its own HTTP server, which can be used to serve Zopedocuments to any connecting client. While this ZServer is a remarkablyfull-featured and powerful application, it's still not as easy (or asflexible) as Apache, which is still the planet's numero uno Web server.

There are a number of reasons why you might want to hook Zope and Apacheuptogether:

1. If you're a Webmaster transitioning an existing site to Zope, it'sunlikely that your entire site will be build around Zope. It's morelikely that you'll have some static HTML pages and some dynamic,interactive sections which are populated via user activity. In suchsituations, it's not very optimal to have Zope serve up the staticpages; Apache is better suited to the task, and also more efficient atit.

2. If you're running multiple virtual hosts on the same site, you'reprobably going to have trouble configuring Zope to handle them. It's fareasier (not to mention less time-consuming) to have Apache handle thevirtual hosting for you, and have Zope simply serve up the pages asneeded.

3. If you're already using Apache's HTTP authentication feature, youmight find it inconvenient to switch over to Zope's authenticationsystem. In such situations, it might be preferable, and less disruptiveto your users, to disable Zope authentication and continue to useApache's authentication database - even on Zope-generated pages, orwithin Zope's management interface.

Now, I'm not going to cover each of these applications in detail in thisarticle; rather, I will be focusing on the technicalities of using theApache Web server to pass requests on to Zope, and to serve up thereturned Zope content in a transparent manner. In order to do this, youwill need to reconfigure and recompile your Apache server to includesupport for a few additional modules. Here's a list of what you're goingto need - download it now, and then proceed to the next page.

The Apache Web server, from http://httpd.apache.org/

The FastCGI module, from http://www.fastcgi.com/

As I said before, I'm assuming that you already have a working Zopeinstallation; if you don't, drop by http://www.zope.org/ and getyourself set up.

 
 
>>> More Zope Articles          >>> More By icarus, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

ZOPE ARTICLES

- Creating Zope Products
- Plone Content Types With Archetypes
- Flat User Management in Zope
- Creating Basic Zope Applications
- Getting started with Zope for Linux and Sola...
- ZPT Basics (part 4)
- ZPT Basics (part 3)
- ZPT Basics (part 2)
- ZPT Basics (part 1)
- Exception Handling In DTML
- DTML Basics (part 4)
- DTML Basics (part 3)
- DTML Basics (part 2)
- DTML Basics (part 1)
- Using Zope With Apache

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: