Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
297d8370
Commit
297d8370
authored
Jul 13, 1999
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up INSTALL.txt and WEBSERVER.txt, adding new instructions on
how to use ZServer with PCGI.
parent
76cd5787
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
doc/WEBSERVER.txt
doc/WEBSERVER.txt
+9
-7
No files found.
doc/WEBSERVER.txt
View file @
297d8370
...
...
@@ -14,26 +14,28 @@ Using Zope with an existing web server
Zope is a long running process, which means that it does not start
up and die on each request like traditional CGI programs (if it did,
each request would take far too long due to the time to start and
stop an application as large as Zope). In order to gateway
stop an application as large as Zope). In order to gateway from the
separate CGI processes to the Zope long running Process, PCGI must
be used.
Using Zope in multi threaded mode with ZServer
----------------------------------------------
ZServer is a general purpose TCP server for publishing Zope objects
over various transport protcols. For Zope to run multi-threaded,
over various transport prot
o
cols. For Zope to run multi-threaded,
you must run ZServer.
ZServer is based on Sam Rushing's medusa software. The benefit of
using medusa as the ZServer core is that it is not protocol specific
(medusa provides libraries to program for any protocol) and it is
easily extensible. Because medusa is written in Py
hton, is extrem
ly
easily extensible. Because medusa is written in Py
thon, is extreme
ly
high performance by design, and comes with an HTTP and FTP server,
we chose it for the Zope core.
It is not necesary, however, for ZServer to actually listen for
incom
m
ing HTTP requests. If you want Apache to do the actual
It is not neces
s
ary, however, for ZServer to actually listen for
incoming HTTP requests. If you want Apache to do the actual
listening and serving, then you can use ZServer's PCGI component to
communcate with Apache.
commun
i
cate with Apache.
To run ZServer with PCGI, you must specify the -p option to the
z2.py startup script. From the top level Zope directory, you can:
...
...
@@ -52,7 +54,7 @@ Using Zope in multi threaded mode with ZServer
bash% python.1.5.2 z2.py -p /path/to/PCGI/resource/file
Now the Zope long running process is started up, and the PCGI
component is loaded and ready to rec
ie
ve CGI requests from your
component is loaded and ready to rec
ei
ve CGI requests from your
webserver.
The installation process should create a 'Zope.cgi' PCGI file. Copy the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment