3 Replies Latest reply on Nov 19, 2012 8:36 AM by BKBK

    Images from outside wwwroot not displaying (despite mapping)

    bennykleid

      For security purposes, I keep my site's images outside of wwwroot in this folder: C:\extSite\stdImages\store

      Then I created a mapping in wwwroot\WEB-INF\jrun-web.xml like this:

       

      <virtual-mapping>

        <resource-path>/extStdImages</resource-path>

        <system-path>C:\extSite\stdImages\</system-path>

      </virtual-mapping>

       

      My store.cfm page has this:  <img src="/extStdImages/store/#photoFilename#" />

       

      The works fine on my dev site, but I just deployed to production where it does not work -- the images don't display.

       

      Can anyone help?  Thanks in advance!

       

      PK