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!
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.
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.
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!
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
Thanks for the reply. How do I navigate to this page (using Umbraco 7)?
Right click on media node and select public access
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.
Great that it's solved Ryan.
is working on a reply...