nopCommerce over HTTPS as Child Application in IIS

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 年 前
Trying to add nopCommerce as a child application under an existing website (https://www.mysite.com) in IIS. The parent site already has an SSL Certificate for https://www.mysite.com with URL Rewrite rule (301 Redirect) to force HTTPS for all pages in website. Right-click on website and select "Add Application", give it virtual path "/store", give it it's own application pool, physical path to nopCommerce application directory.

In nopCommerce 'Store' table:
Store URL: http://www.mysite.com/store
Secure URL: https://www.mysite.com/store
SSL enabled: True
Hosts: mysite.com

In nopCommerce 'Setting' table:
SecuritySettings.ForceSslForAllPages: True

Navigate to nopCommerce site: https://www.mysite.com/store and it redirects to https://www.mysite.com/store/store and shows nopCommerce 404 page

Anyone know why it's redirecting to /store/store?

If I remove the parent website FORCE HTTPS rewrite rule and navigate to HTTP://www.mysite.com/store then everything works properly, but my site is not under HTTPS. With that FORCE HTTPS rule on parent site still removed, navigate to HTTPS://www.mysite.com/store and it redirects to https://www.mysite.com/store/store and shows nopCommerce 404 page.

Is there something in nopCommerce route handling that is causing HTTPS requests, when running as child application, to append to the path "/store/store"???

If I change the virtual path for the child application from "/store" to "/anythingelse" then I get https://www.mysite.com/anythingelse/anythingelse and shows nopCommerce 404 page.
5 年 前
Hope you are fine please can you guide how you sole this issue.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.