You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by daniel robinson <dr...@dnai.com> on 2002/06/27 06:31:04 UTC
weird image / cocoon problems
My sitemap specifies:
<map:match pattern="images/**.gif">
<map:read src="images/{1}.gif" mime-type="image/gif"/>
</map:match>
<map:match pattern="images/**.jpg">
<map:read src="images/{1}.jpg" mime-type="image/jpg"/>
</map:match>
in my xslt I reference <img src="image/myjpg.jpg" ....> This all worked
fine on my dev machine. I moved everything to a production server and
no one could see the images. When I cleared my browser cache I had the
same problem. When I selectively copied files into the image dir they
would show up - or not - intermitantly. On the suggestion of the sysadm
I copied all the images into a directory that Apache could see
htmlroot/images and then changed my references to <img src=
"http://www.myserver.com/images/myjpg.jpg" .... > this seems to work
fine in all cases. What gives?
Thanks,
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org