how to HTTPS --> HTTP

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 09 May 2012, 16:13

how to HTTPS --> HTTP

01 Jul 2015, 11:26

I see how to do the HTTP --> HTTPS but how do you do it the other way around?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: how to HTTPS --> HTTP

03 Jul 2015, 09:18

Hello,

Here are the rules:

#Redirect HTTPS to non-HTTPS
RewriteCond %{HTTP:Host} (.*)
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} (.*)
RewriteRule .? http://%1%2 [R=301,L]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 15 guests