Zope
  Home arrow Zope arrow Page 3 - 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 - When Persistence Pays Off
    ( Page 3 of 7 )

    There are a number of different ways to get Apache working with Zope - however, all of them rely on using CGI to pass Apache requests to Zope for processing. The first of these involves using persistent CGI, or PCGI.

    When Zope is first installed, a file named "Zope.cgi" is created in the Zope installation directory. This is the file you will need in order to serve up Zope data via Apache. Copy this file to your Apache server's "cgi-bin" directory, and set its ownership and permissions appropriately.

    $ cp /usr/local/Zope/Zope.cgi /usr/local/apache/cgi-bin/ $ chmod 711 /usr/local/apache/cgi-bin/Zope.cgi
    Next, start Zope with the "-p" command-line parameter (this tells Zope to use PCGI).

    $ cd /usr/local/Zope $ ./bin/python z2.py -p /usr/local/apache/cgi-bin/Zope.cgi
    Zope should now start up. Verify that it is running by browsing to the URL http://your.server:8080/ and the URL http://your.server:8080/manage/ (for the management interface)

    Next, start up Apache.

    $ /usr/local/apache/bin/apachectl start
    You should now be able to access the Zope pages through CGI, by browsing to the URL http://your.server/cgi-bin/Zope.cgi - in other words, accessing Zope content via Apache.

     
     
    >>> 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 6 Hosted by Hostway
    Stay green...Green IT