[Zope] How to make broken images/links broken!
Chris Withers
chrisw@nipltd.com
Thu, 25 Jan 2001 18:07:07 +0000
I'd change to using 2.3 with the Cache management stuff and leave IIS totally
out of the loop.
Then everyone gets what they expect and you get nice, fast-served pages :-)
cheers,
Chris
PS: Maybe having ZServer behind Apache would be needed for a decent solution.
sbabu@tnc.org wrote:
>
> Hi folks,
>
> I think this has to do with acquisition. Here's my problem.
>
> I've an image, say
> http://localhost:8080/colorado/images/myimage.jpg
>
> Now, with Zope, if in a DTML document called
> http://localhost:8080/colorado/test.html
> , I refer to it as <img src="images/myimage.jpg"> it works
> as expected.
>
> However, if I have another DTML document called
> http://localhost:8080/colorado/slideshows/test2.html
> which *also* refers to it as <img src="images/myimage.jpg">
> the image appears there also. I don't want this to happen.
> I would like this image to be broken as you would expect
> in a normal, dumb webserver.
>
> However, I don't want to turn off acquisition completely in all
> the folders too (I don't know how to do that either).
>
> Is there any thing we can do to test2.html which will not show
> things like this?
>
> FYI: This is for a content management application using Zope.
> We use Zope to make our content, then make static pages
> into file system to be served by IIS. All that works very nice.
> But users often give wrong URL for their images in the content
> and in the Zope DTML method (like test2.html) which does the preview,
> these images appear all right and so they think it is going to be OK
> in the static version too. I'm using something like ZIE for editor,
> so at least in that if we can disable acquisition, that would be neat.
>
> Many thanks in advance
>
> V.Satheesh Babu Web Technologies Group, (703)-841-5348 sbabu@tnc.org
> The Nature Conservancy http://www.tnc.org
> http://vsbabu.csoft.net/
> "The man who smiles when things go wrong has thought of someone to blame it
> on." --- Jone's Law
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )