0

What should look isapi rewrite rule which can change https to http for a specific page, ex:

https://www.portal.com/mypage to http://www.portal.com/mypage

Regards

jwaliszko
  • 16,942
  • 22
  • 92
  • 158

1 Answers1

0

Try using:

RewriteCond %{HTTP:Host} (.*)
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} (/mypage)
RewriteRule .? https://%1%2 [R,L]
Andrew
  • 511
  • 3
  • 7