I am a novice using the IIS URL rewriting feature, and have little knowledge of regex.
I am looking to create a rule(s) using IIS rewriting that will enforce the use of "https" on appropriate sections of the site, and for the rest of the site enforce the use of "http."
The desired criteria are as follows:
-- If hostname includes "localhost" always use http
-- For URL's that include the strings "login", "admin", or "checkout" enforce use of https. For all other urls, enforce use of http.
Any assistance would be greatly appreciated.