[Zope-dev] How to confuse the publishing process

Steve Spicklemire steve@spvi.com
Wed, 3 Jan 2001 12:27:22 -0500 (EST)


Hi Chris,

   I have folder test1 at the root with a DTML Method: index_html that says:

<html>
<head>
</head><body>
I am in the test1 folder.
</body></html>

in test1 I have folder test2 with a DTML Method: index_html that says:

<html>
<head>
</head><body>
I am in the test2 folder.
</body></html>

When I view /test1/test2/test1

I get:

<html>
<head>
<base href="http://myhost:8080/test1/test2/test1/" />
</head><body>
I am in the test1 folder.
</body></html>


I don't see the behavior you describe..  What did I
misunderstand?

thanks,
-steve

>>>>> "CW" == Chris Withers <chrisw@nipltd.com> writes:

    CW> Steve Spicklemire wrote:
    >>  Hi Chris,
    >> 
    >> OK... you need to tell us where the index_html's are and what
    >> they have in them!  ;-)

    CW> Doesn't seem to matter what's in them...

    CW> Say there's one in folder1 and one in folder2, which one
    CW> should be used?  Why are neither of them being used?

    CW> cheers,

    CW> Chris

    >> Do you have a
    >> 
    >> <dtml-var folderx>
    >> 
    >> somewhere?

    CW> don't think so...

    Chris> If you go to a URL that ends in a folder, you get the
    Chris> index_html in that folder, right?
    >>
    Chris> Well, yes and no...
    >>
    Chris> If you go to: http://server.com/folder1/folder2/folder1
    >>
    Chris> ...where folder1 is a folder in your Zope's root, folder2
    Chris> is contained in folder1, but doesn't itself contain a
    Chris> folder1 (so the last folder1 in the url is also the first
    Chris> one, just acquired), Zope returns the following:
    >>
    Chris> <html><head> <base
    Chris> href="http://localhost:8080/testnav/normaltest/testnav/">
    Chris> </head>
    >>
    Chris> <body> <Folder instance at 014B3D80> </body> </html>

    CW> _______________________________________________ Zope-Dev
    CW> maillist - Zope-Dev@zope.org
    CW> http://lists.zope.org/mailman/listinfo/zope-dev ** No cross
    CW> posts or HTML encoding!  ** (Related lists -
    CW> http://lists.zope.org/mailman/listinfo/zope-announce
    CW> http://lists.zope.org/mailman/listinfo/zope )