> From: daniel robinson [mailto:[EMAIL PROTECTED]] > > 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?
You can use simply <img src="/images/myjpg.jpg" .... > instead. Compare the URLs on the production server and your dev machine. Maybe they don't match your "images/**.jpg" pattern. Maybe you need something like "**/images/*.jpg"? Konstantin > > Thanks, > > Dan > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>