Copied to clipboard

Flag this post as spam?

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


  • Lewis 27 posts 90 karma points
    Apr 27, 2015 @ 14:31
    Lewis
    0

    Basic Auth

    Hey

    I am seeing the following error in the logs:

    ERROR SEOChecker.Core.Helpers.Request - [Thread 14] SEOChecker: Error could not load url http://mywebsite.com/umbraco/dialogs/preview.aspx?id=1106 System.Net.WebException: The remote server returned an error: (401) Unauthorized.

    The site is behind basic authentication, is that what is causing this error? If so, is there a way around this?

    Thanks,

    Lewis

  • Richard Soeteman 4045 posts 12898 karma points MVP 2x
    Apr 28, 2015 @ 08:00
    Richard Soeteman
    0

    Hi Lewis,

    Not offically supported yet but what you could try is set the following app keys in your web.config file.

    SEOCheckerConnectAsUmbracoMember (true/false) Indicates that it's a protected site SEOCheckerUmbracoMemberName (User name) SEOCheckerUmbracoMemberPassword (Password)

    Hope this helps,

    Richard

  • Lewis 27 posts 90 karma points
    Apr 29, 2015 @ 10:59
    Lewis
    0

    Thanks for the info Richard.

    Just to be clear, although the app keys say UmbracoMember, are they actually referring to Umbraco Users?

    On an Umbraco user, there are Username, Login, and Password fields - so should the mapping be as follows:

    SEOCheckerUmbracoMemberName : Username (definitely not Login?)

    SEOCheckerUmbracoMemberPassword : Password

    I have tried a combination of these but no luck so far.

    Thanks, Lewis

  • Richard Soeteman 4045 posts 12898 karma points MVP 2x
    Apr 29, 2015 @ 11:34
    Richard Soeteman
    0

    Hi Lewis,

    No it's Umbraco members, it should be login and password indeed. I had a customer with protected nodes and simple authentication there it worked.

    Hope this helps,

    Richard

  • Lewis 27 posts 90 karma points
    Apr 29, 2015 @ 16:35
    Lewis
    0

    Hi Richard

    Thanks again, but I think we may be mixed up - I'm talking about IIS Basic Authentication on the whole website rather than using the Umbraco protected nodes feature.

    Can you confirm that SEO Checker works if the entire site is locked down under IIS Basic Authentication?

    Thanks,

    Lewis

  • Richard Soeteman 4045 posts 12898 karma points MVP 2x
    Apr 29, 2015 @ 16:38
    Richard Soeteman
    0

    Hi Lewis,

    It's an unsupported feature so no guarantees yet. Make sure you use the latest version and use the credentials you ahve configured for basic authentication.

    Hope this helps,

    Richard

  • Lewis 27 posts 90 karma points
    Apr 30, 2015 @ 17:31
    Lewis
    0

    Hi Richard,

    It hasn't worked for me but appreciate your help all the same.

    Thanks,
    Lewis 

Please Sign in or register to post replies

Write your reply to:

Draft