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 Zopefor processing. The first of these involves using persistent CGI, orPCGI. When Zope is first installed, a file named "Zope.cgi" is created in theZope installation directory. This is the file you will need in order toserve up Zope data via Apache. Copy this file to your Apache server's"cgi-bin" directory, and set its ownership and permissionsappropriately. Next, start Zope with the "-p" command-line parameter (this tells Zopeto use PCGI). Zope should now start up. Verify that it is running by browsing to theURL http://your.server:8080/ and the URL http://your.server:8080/manage/(for the management interface) Next, start up Apache. You should now be able to access the Zope pages through CGI, by browsingto the URL http://your.server/cgi-bin/Zope.cgi - in other words,accessing Zope content via Apache.
blog comments powered by Disqus |