Page 1 of 1

SSL Question/Issue

Posted: Tue May 20, 2008 7:53 pm
by keats76
I'm new to SSL and certificates, but I think I have a pretty good grasp of things.

One point I've noticed is that Able switches over the login page (and others) from http to https automatically. This is great and is exactly what I want. I created a new page that I'd like to use this functionality as well, however it doesn't switch instantly like the others.

I've been digging around, but I can't seem to find out the best way to trigger this behavior. Is it something built into CommerceBuilder.Web.UI.AbleCommercePage that I need to invoke?

Thoughts?

Thanks,
Mike

Re: SSL Question/Issue

Posted: Tue May 20, 2008 9:36 pm
by keats76
Ok, this is downright odd ... my custom landing page (default.aspx) is always redirected to http ... I tried setting up a 403.4 redirect to https, but I get stuck in a loop.

Is there some sort of http handler that is forcing the default.aspx page to http? If so, is there a way to turn it off?

Thanks,
Mike

Re: SSL Question/Issue

Posted: Wed May 21, 2008 7:52 am
by jmestep
This is just a guess- all the checkout pages are in a /Checkout folder. I'm guessing that there is some mapping somewhere so that anything in that folder is https. Try putting your new page there.

Re: SSL Question/Issue

Posted: Wed May 21, 2008 8:05 am
by keats76
yeah I thought it might have been like that as well ... but the login page is https protected too and that one is in the root folder.

Re: SSL Question/Issue

Posted: Wed May 21, 2008 9:23 am
by sohaib
check App_Data/ablecommerce.config and configure your secure pages there

App_Data/ablecommerce.config

Code: Select all

<application enableRewrite="true" connectionStringName="" maintenanceInterval="360" viewStateWarning="0" readOnlyInstance="false" demoMode="true">
  <trackPages enabled="true" ignoreHandlers="WithStandardExtensions" defaultState="On">
    <directories>
      <add path="Admin" state="Off" recurse="True" />
      <add path="Assets" state="Off" recurse="True" />
      <add path="ClientApi" state="Off" recurse="True" />
      <add path="fckeditor" state="Off" recurse="True" />
      <add path="images" state="Off" recurse="True" />
      <add path="Install" state="Off" recurse="True" />
      <add path="Layouts" state="Off" recurse="True" />
    </directories>
  </trackPages>
  <securePages enabled="true" ignoreHandlers="WithStandardExtensions">
    <directories>
      <add path="Admin" recurse="true" />
      <add path="Members" recurse="true" />
      <add path="Checkout" recurse="true" />
      <add path="FCKeditor" recurse="true" state="Ignore" />
    </directories>
    <files>
      <add path="Login.aspx" />
      <add path="Members/MyWishlist.aspx" state="Off" />
      <add path="Members/SendMyWishlist.aspx" state="Off" />
      <add path="Admin/Utility/EditHtml.aspx" state="Ignore" />
    </files>
  </securePages>
</application>

Re: SSL Question/Issue

Posted: Wed May 21, 2008 9:37 am
by keats76
Thanks sohaib!