Copied to clipboard

Flag this post as spam?

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


  • Ryan 35 posts 129 karma points
    Oct 20, 2014 @ 19:25
    Ryan
    0

    Site does not load properly after migration to live server

    Hi

    I've been using MediaProtect on a test site and server without issue.  I migrated the site to our live server for testing and am running into an issue that may be caused by the MediaProtect project.  On my test server I used test.mysite.com, on the new server I have host header and a hosts entry for www.mysite.com to test locally (before go-live).  When I browse to the site, none of my CSS files are loading.  If I try browse to my CSS files in the browser, I'm getting sent to the login page I created for MediaProtect.  I'm also getting redirected to login for media files that aren't set to be protected.  I also can't even log in to the Umbraco backoffice unless I authenticate to the MediaProtect login beforehand.

    I was wondering if you might have any ideas on the cause?  Thanks for the help!

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Oct 21, 2014 @ 09:17
    Richard Soeteman
    0

    Hi Ryan,

    That is weird this would mean that css files are media items as well. Would it be possible to login to Umbraco and open the media protect dialog. Do you see a license error there? That would explain the issue.

    Best,

    Richard

  • Ryan 35 posts 129 karma points
    Oct 21, 2014 @ 16:01
    Ryan
    0

    Thanks for the reply.  How do I navigate to this page (using Umbraco 7)?

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Oct 21, 2014 @ 16:04
    Richard Soeteman
    0

    Right click on media node and select public access

  • Ryan 35 posts 129 karma points
    Oct 22, 2014 @ 20:47
    Ryan
    100

    I lucked out and found the issue.  I migrated to a Server 2012/IIS 8 machine.  The site's public authentication/anonymous user identity setting was set to run as IUSR instead of App Pool Identity.  It was coincidence that I had my authentication URL for Media Protect as /login.aspx, which is the default auth URL setting in the web.config.  I thought this issue may have been with MediaProtect with the coincidence.  Once I switched it to app pool identity, everything loaded properly (css, media, backoffice, etc.).  This is a Windows 8/Server 2012 server settings issue and my test environment was in 2008 R2.  Hopefully this made sense.

    Everything is working as expected and it was not a fault of MediaProtect.  Thanks again for the quick replies.

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Oct 23, 2014 @ 06:06
    Richard Soeteman
    0

    Great that it's solved Ryan.

Please Sign in or register to post replies

Write your reply to:

Draft