Zope
  Home arrow Zope arrow Page 6 - Using Zope With Apache
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ZOPE

Using Zope With Apache
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 30
    2002-05-14


    Table of Contents:
  • Using Zope With Apache
  • A Few Good Reasons
  • When Persistence Pays Off
  • The Writing On The Wall
  • The Fast And The Furious
  • Performing By Proxy
  • Zip Zap Zoom

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Using Zope With Apache - Performing By Proxy
    ( Page 6 of 7 )

    Of course, there are other ways to get Zope and Apache talking as well. One of the most interesting involves using Apache's proxy module to transparently pass Zope requests to the ZServer.

    The first step is to make sure that your Apache build includes support for the proxy module (look for "mod_proxy.c" in the output of "httpd -l"). If it doesn't, you can recompile Apache by doing the following:

    $ cd /tmp/sources $ tar -xzvf apache_1.3.20.tar.gz $ cd apache_1.3.20 $ ./configure --enable-module=proxy $ make $ make install
    Once the program has been installed, pop open "httpd.conf" and add the following lines to it:

    ProxyPass /community http://localhost:8080/ ProxyPassReverse /community http://localhost:8080/
    This tells the server to intercept all requests for the URL /community (the first argument to ProxyPass), and redirect them to the Zope server (the second argument).

    While this approach is simple, it does have a few glitches. Take a look at http://www.zope.org/Members/anser/apache_zserver for a detailed explanation of these problems, together with some very elegant hacks that solve them quite well.

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

       

    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





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT