[Zope] Zope debugger root variable?

Derek Basch dbasch@yahoo.com
Wed, 19 Mar 2003 07:52:19 -0800 (PST)


I am stuck on a minor problem that someone here could
probably help me with. 

I am trying to simulate an HTTP request to the Zope
Server using the techniques described in the "Testing
and Debugging" chapter of the Developers Guide: 

>>> ZPublisher.Zope('')
Status: 200 OK
X-Powered-By: Zope (www.zope.org), Python
(www.python.org)
Content-Length: 1238
Content-Type: text/html

<HTML><HEAD><TITLE>Zope</TITLE>

  ... blah blah...

</BODY></HTML>
>>> 

However, I am unable to get the simulated HTTP
requests to return anything: 

>>>
<p>"Sorry, the requested resource does not
exist.<p>Check the URL and try again.</
<p><b>Resource:</b>
http://127.0.0.1/Zope/index_html</p>
>>>

I do not understand why
(http://127.0.0.1/Zope/index_html) is being called
instead
of (http://127.0.0.1:8080/index_html)? Do I need to
set a
root enviroment variable or something before
simulating the request?.

Thanks Everyone,
Derek Basch




__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com