Welcome to Mediachase Community Sign in | Join | Help    
in Search   

SSL Redirecting Issue

Last post Wed, Feb 17 2010, 9:06 AM by richlyc. 3 replies.
Sort Posts: Previous Next
  •  Tue, Feb 09 2010, 5:24 PM 11243

    SSL Redirecting Issue

    I recently had an SSL cert installed for my website so turned on securewebpages but this caused the site to have an infinite redirect loop when it tried to redirect to https.

    My config is currently
    <secureWebPages mode="On">
                <file path="/profile/login.aspx"></file>
                <file path="/profile/register.aspx"></file>
                <directory path="/checkout"></directory>
      </secureWebPages>


    Using firebug I can see that the location in the response header is the correct https uri and the response code is 302 Found.

    When I turn secureWebPages off and navigate to any page under https it works fine.

    Any ideas?

    Cheers
    Tim

  •  Thu, Feb 11 2010, 11:04 AM 11245 in reply to 11243

    Re: SSL Redirecting Issue

    Hi Tim,

    Please read a list of troubleshooting tips that we compiled here -- http://docs.mediachase.com/doku.php?id=ecf:41:tutorials:ssl

    Hope this helps.

    Mediachase Software 
  •  Tue, Feb 16 2010, 8:29 PM 11247 in reply to 11245

    Re: SSL Redirecting Issue

    I have sorted the issue now.

    It was due to my server hosts configuration. For some reason it was never returning the absolute URI having https therefore the SSLFilter module was continuously redirecting to https.

    The host admin told me to search for the  Header value X-HTTPS rather then rely on the Absolute URI or servervariables.

    I downloaded the source from the link below and made the changes as mentioned in the highlighted forum post but used Request.Headers["X-HTTPS"] == "on" rather than
    Request.ServerVariables["HTTP_CLUSTER_HTTPS"] != "on"
    http://www.codeproject.com/KB/web-securit/WebPageSecurity_v2.aspx?msg=2641746#xx2641746xx

    Cheers
    Tim
  •  Wed, Feb 17 2010, 9:06 AM 11248 in reply to 11247

    Re: SSL Redirecting Issue

    Hi Tim,

    Glad you were able to sort it out. Thanks for your contributions!

    Best,
    Richly
    Mediachase
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems