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
11694f3a
Commit
11694f3a
authored
Jan 11, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added resolver ip
parent
7c41f80a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ZServer/start_medusa.py
ZServer/start_medusa.py
+3
-2
lib/python/ZServer/start_medusa.py
lib/python/ZServer/start_medusa.py
+3
-2
No files found.
ZServer/start_medusa.py
View file @
11694f3a
#!/usr/bin/python1.5.1
"""Sample ZServer start script"""
import
sys
...
...
@@ -7,12 +8,12 @@ from medusa import http_server
from
medusa
import
asyncore
import
zope_handler
IP_ADDRESS
=
'
127.0.0.1
'
IP_ADDRESS
=
''
HTTP_PORT
=
9673
MODULE
=
'Main'
lg
=
logger
.
file_logger
(
sys
.
stdout
)
rs
=
resolver
.
caching_resolver
(
'
127.0.0.1
'
)
rs
=
resolver
.
caching_resolver
(
'
206.156.192.156
'
)
hs
=
http_server
.
http_server
(
IP_ADDRESS
,
HTTP_PORT
,
rs
,
lg
)
zh
=
zope_handler
.
zope_handler
(
MODULE
)
hs
.
install_handler
(
zh
)
...
...
lib/python/ZServer/start_medusa.py
View file @
11694f3a
#!/usr/bin/python1.5.1
"""Sample ZServer start script"""
import
sys
...
...
@@ -7,12 +8,12 @@ from medusa import http_server
from
medusa
import
asyncore
import
zope_handler
IP_ADDRESS
=
'
127.0.0.1
'
IP_ADDRESS
=
''
HTTP_PORT
=
9673
MODULE
=
'Main'
lg
=
logger
.
file_logger
(
sys
.
stdout
)
rs
=
resolver
.
caching_resolver
(
'
127.0.0.1
'
)
rs
=
resolver
.
caching_resolver
(
'
206.156.192.156
'
)
hs
=
http_server
.
http_server
(
IP_ADDRESS
,
HTTP_PORT
,
rs
,
lg
)
zh
=
zope_handler
.
zope_handler
(
MODULE
)
hs
.
install_handler
(
zh
)
...
...
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