[Zope] base href weirdness

davidbro@namshub.org davidbro@namshub.org
Tue, 7 Sep 1999 12:43:12 -0700


Interesting.

If you get a page from Zope by requesting the name of the folder, it
renders whatever index_html it finds (either in the folder or by
acquisition), and adds a "<base href="location of your zope server">"
to the generated HTML.

If you ask for the object directly, like
"http://my.site/Zope/index_html", no "<base href="...">" is generated.

Why is this?  And why is the "base href" necessary?  I've never seen
it anywhere other than Zope (of course, I don't do a "view source" on
every site I visit).

dave
(<base href="mailto:davidbro@namshub.org">)