That looks like the wrong section of code. That isn't what is redirecting to https://
That section it looks like controls whether the site starts with www. or not. You need to find the correct area to add the condition.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.