cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel robinson <d...@dnai.com>
Subject weird image / cocoon problems
Date Thu, 27 Jun 2002 04:31:04 GMT
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


Mime
View raw message