Thanks Evan. We're getting warmer. The URL: http://localhost:80/Engineering/LSFReports/cibhrm6.HTM/index_html yields the same result as the URL: http://localhost/Engineering/LSFReports/cibhrm6.HTM However, the URL: http://morphicsweb/Engineering/LSFReports/cicl54y.htm/index_html yields a NOT FOUND error, even tho http://morphicsweb/Engineering/LSFReports/cicl54y.htm works normally. So, the Local File object has an index_html method if it ends with .HTM !!! Now, to find out why.... -- Loren
-----Original Message----- From: Evan Simpson [mailto:evan@digicool.com] Sent: Thursday, April 26, 2001 12:41 To: Loren Stafford; zope@zope.org Subject: Re: [Zope] RE: Wrong <base href=""> for .HTM file
From: "Loren Stafford" <lstafford@morphics.com>
I'm looking at insertBase in HTTPResponse.py, but I can't figure out how LocalFS can influence its decisions. Am I looking in the right area?
Sort of. It's unpleasantly complex. RESPONSE.setBase gets called by REQUEST.traverse after the last step in traversal, when it notices that REQUEST._hacked_path is set. This gets set the target of the URL is reached, and it has an 'index_html' attribute. Does LocalFS handle rendering of file proxy objects with an index_html method?
Cheers,
Evan @ digicool