SSL Question/Issue

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
keats76
Commander (CMDR)
Commander (CMDR)
Posts: 117
Joined: Sat Dec 15, 2007 4:45 pm

SSL Question/Issue

Post by keats76 » Tue May 20, 2008 7:53 pm

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

keats76
Commander (CMDR)
Commander (CMDR)
Posts: 117
Joined: Sat Dec 15, 2007 4:45 pm

Re: SSL Question/Issue

Post by keats76 » Tue May 20, 2008 9:36 pm

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

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: SSL Question/Issue

Post by jmestep » Wed May 21, 2008 7:52 am

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.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

keats76
Commander (CMDR)
Commander (CMDR)
Posts: 117
Joined: Sat Dec 15, 2007 4:45 pm

Re: SSL Question/Issue

Post by keats76 » Wed May 21, 2008 8:05 am

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.

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: SSL Question/Issue

Post by sohaib » Wed May 21, 2008 9:23 am

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>

keats76
Commander (CMDR)
Commander (CMDR)
Posts: 117
Joined: Sat Dec 15, 2007 4:45 pm

Re: SSL Question/Issue

Post by keats76 » Wed May 21, 2008 9:37 am

Thanks sohaib!

Post Reply