Copied to clipboard

Flag this post as spam?

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


  • Jakub 9 posts 89 karma points
    May 03, 2018 @ 09:54
    Jakub
    0

    Setting up rootUrl for media

    Hi all, I'm trying to move the media folder as requested in my work, and I followed the instructions which were same on multiple posts and blogs. So I added

    <add key="rootPath" value="[Physical path]\Sharedmedia"/>
      <add key="rootUrl" value="http://[Url]/Sharedmedia/"/>
    

    inside FileSystemProvider.config, I also commented out the virtual root. The issue I encounter is with the url part. Files seems to be saving into new media folder correctly, but I have no idea how to setup the rootUrl. Are there further settings I need to change, because now it throws 404 and it tries to locate the media in a website folder (where old media were stored). Do I need to somehow specify where is "Sharedmedia" folder in url or is there any other setting I need to do?

    Thanks for help

  • Jakub 9 posts 89 karma points
    May 03, 2018 @ 10:48
    Jakub
    0

    I added /Sharedmedia in ISS and redirected it to my file, but now I get error: "Could not load file or assembly 'Umbraco.ModelsBuilder' or one of its dependencies" when I try to open the file from back office. Any ideas?

Please Sign in or register to post replies

Write your reply to:

Draft