Commit 11694f3a authored by Amos Latteier's avatar Amos Latteier

added resolver ip

parent 7c41f80a
#!/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)
......
#!/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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment