Copied to clipboard

Flag this post as spam?

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


  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Aug 18, 2010 @ 10:15
    Lee Kelleher
    0

    Client Dependency with umbracoUseSSL

    One of my Umbraco installs uses SSL for the back-office.  I am having a problem with the Client Dependency Framework as it seems to be referencing CSS images under HTTP (not HTTPS).

    I've tried clearing out the ClientDependency folder, but the same resource files are recreated.

    Anyone else experiencing this?

     

    Tech details: Umbraco v4.5.1, ASP.NET 3.5, Windows Server 2003, IIS 6 (using Chrome to view back-office).

    Thanks, Lee.

  • Lee 1130 posts 3088 karma points
    Aug 18, 2010 @ 10:16
    Lee
    0

    Doh.. Just read you already deleted the folder!  Should have read further before replying ;)

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Aug 18, 2010 @ 10:19
    Lee Kelleher
    0

    Hey Lee,

    I "think" it's a different issue.

    But I will try setting the 'debug=true' before clearing out the CD cache - see if that makes a difference?

    Cheers, Lee.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Aug 18, 2010 @ 10:28
    Lee Kelleher
    0

    It didn't make a difference... I'll look into it again later. :-)

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 18, 2010 @ 10:33
    Aaron Powell
    1

    If a request comes in for a dependency set via HTTP and HTTPS it'll only return one of them, the first requested.

    I *think* CD will do absolute paths for the images in the CSS. If only the back office is behind SSL then it will return it that way and only return it on the front-end using SSL if you happen to request the exact same set of files.

    Maybe log a feature request on codeplex if you need it different.

  • Shannon Deminick 1530 posts 5278 karma points MVP 4x
    Aug 18, 2010 @ 10:57
    Shannon Deminick
    1

    yeah, CD does absolute paths for CSS images but if the requests are made from HTTPS, then HTTPS should be translated into the CSS files for images. If you have some issues with this, please log and ill fix asap.

    your other option in the meantime if there's issues is just to disable CD from combining/compressing which can be done in the ClientDependency.config file.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Aug 18, 2010 @ 12:12
    Lee Kelleher
    0

    Hey Aaron/Shannon,

    I'm still getting a mix of HTTP/HTTPS in the CD files.  As far as I'm aware with umbracoUseSSL enabled, the back-office is only accessible via HTTPS, so there shouldn't be any requests on regular HTTP, right?

    From viewing the requests (in Chrome's dev tools), I am seeing 2 stylesheets using DependencyHandler.axd.  Both have absolute URLs for images. First one uses HTTPS and the second has HTTP.

    When I enable 'debug' in the Web.config (to disable Client Dependency), all the requests are coming via HTTPS.

    BTW, this Umbraco install has been upgraded from v4.0.4.2 - CD is not used on the front-end.

     

    It seems really weird. In the meantime, I'll disable CD from combining/compressing.

    Cheers, Lee.

  • Shannon Deminick 1530 posts 5278 karma points MVP 4x
    Aug 18, 2010 @ 13:38
    Shannon Deminick
    0

    I'll run some tests tonight.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies