Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8003593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:41:16+00:00 2026-06-04T16:41:16+00:00

I got a copy of an https rewrite rule so that when certain keywords

  • 0

I got a copy of an https rewrite rule so that when certain keywords are in the url it automatically redirects to an https: on a specific port.

However, I would also like something that when I want to logout of the secure area and go back to the non ssl site that it’s no longer on https. I have been unsucessful in doing this.

Can someone tell me what I need to do?
Here’s the https rule I used.

<rewrite>
      <rules>
        <rule name="Secure Account Controller" enabled="true" stopProcessing="true">
          <match url="^account" ignoreCase="true" />
          <conditions logicalGrouping="MatchAll" trackAllCaptures="true" >
            <add input="{HTTPS}" pattern="off"/>
            <add input="{HTTP_HOST}" pattern="([^/:]*?):[^/]*?" />
          </conditions>
          <action type="Redirect" url="https://{C:1}:44300{URL}"/>
        </rule>
      </rules>
   </rewrite>    

** UPDATED **
This seems to have done it.. Not sure why the url in the browswer doesn’t revert once it’s finished.. but when I click on another page in the site… it’s showing http

  <rule name="Home Controller" enabled="true" stopProcessing="true">
          <match url="^home" ignoreCase="true" />
          <conditions logicalGrouping="MatchAll" trackAllCaptures="true" >
            <add input="{HTTPS}" pattern="on"/>
            <add input="{HTTP_HOST}" pattern="([^/:]*?):[^/]*?" />
          </conditions>
          <action type="Redirect" url="http://{C:1}:7224{URL}"/>
  </rule>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:41:17+00:00Added an answer on June 4, 2026 at 4:41 pm
    • UPDATED ** This seems to have done it.. Not sure why the url in the browser doesn’t revert once it’s finished.. but when I click on another page in the site… it’s showing http

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a DB that refers to the following url: http://en.wikipedia.org/wiki/Herbert_Gr%F6nemeyer However, it seems
I've got a source code file that started as a copy of some sample
I've got a copy of Lion with all the dev tools installed. Both Python
I got some troubles trying to copy char to char... Here's args[] definition :
I got a message on Facebook telling me to copy and paste this into
I am creating a copy of the game Pig. I have got a text
Got some code that is not mine and its producing this warning atm: iehtmlwin.cpp(264)
I tried http://rebol.wik.is/Protocols/Test-async-http.r do %async-protocol.r do %async-http.r buffer: copy content-length: 0 handler: func [port
I've got, what I would consider, a simple test web site. A single page
I've got yet another deployment problem. What I have: little Windows Forms application that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.