Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MuirisOG 382 posts 1284 karma points
    Nov 15, 2016 @ 11:47
    MuirisOG
    0

    Media in a Site on localhost virtual directory not rendering in backoffice

    Hi everyone

    I've created a site in version 752 and I'm trying out a set of test deployments on localhost before purchasing the product and going live.

    I've copied the site so both (i.e. staging and live) now sit on my server , but when I go into the back office, the media I've uploaded doesn't seem to like the virtual directory part of my localhost setup, and images in media section in the back office are shown without the virtual directory and hence not rendered.

    e.g. here is the output from IE developer tools, and all the other URLs in the list have the virtual directory folder in them:

    URL Method  Result  Type    Received    Taken   Initiator   Wait‎‎  Start‎‎ Request‎‎   Response‎‎  Cache read‎‎    Gap‎‎
    /media/2601/myImage.jpg GET 404 text/html   4.99 KB < 1 ms  <img>   31886   0   0   0   0   1114097
    

    Any help would be appreciated.

    Thanks, Muiris.

  • MuirisOG 382 posts 1284 karma points
    Nov 15, 2016 @ 16:15
    MuirisOG
    100

    Hi

    I've found the answer to my question in the link below:

    http://www.ablogaboutcoding.com/2015/10/14/getting-started-with-umbraco-courier-2-5/

    This person doesn't use virtual directories to distinguish between the sites, but port IDs.

    Thanks

    Maurice

  • MuirisOG 382 posts 1284 karma points
    Nov 22, 2016 @ 18:57
    MuirisOG
    0

    Hi

    I've watched the video referred to in the link above and through perseverance, I've actually found it quite good.

    https://www.youtube.com/watch?v=l5F8zJrcFvA

    The Youtube transcript makes it hilarious, so ignore that.

    I'm still at a loss to find good documentation on the courier.config file though for those of us less familiar with Umbraco development.

Please Sign in or register to post replies

Write your reply to:

Draft