aakk9999 - 11:51 am on Jul 5, 2013 (gmt 0)
But how do I redirect https://www.example.com/page1.aspx to http://www.example.com/page1.aspx
In the same way, but the condition you should check is what is the 'scheme' of the request (http or https). I am not sure if you are using ISAPI Rewrite, custom rewrite script or Rewrite module (if you are on IIS 7), and the syntax would be different for all three.
Jimsthoughts has given you an example (above) of how to check for https scheme if you use ISAPI, so this could be your starting point.
However, you must make sure that https to http redirect is executed after any other more specific page redirects, otherwise you may get double redirect chain.
You may want to check Apache forum and search for https to http redirects and study the order of rules. Although the syntax will not be the same, the logic (order of rules) can be applied to IIS too.
You might have something like this:
IF the request is https AND the url should be http THEN do redirect to http.
Jimsthoughts post shows how to write the first condition in ISAPI. You have to add the second condition and the redirect rule.