This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: ISAPI Rewrite of HTTPS Domains
Message |

Joined: 07 September 2010
Location: New Zealand
Posts: 1
Posted: 07 September 2010 at 5:33pm

I'm pretty new to isapi rewrites on IIS. I need to get the following rule applied :-

I'm using example domain names...

I need to be redirected to - including any additional paths and/or query strings.

I've tried this but it just loops:

#RewriteCond %HTTPS on
#RewriteCond Host: (?!^
#RewriteRule /(.*) https\://$2 [I,RP]

Any ideas?

Back to Top

Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 08 September 2010 at 8:27am


please try using the following:

RewriteCond Host: https://www\.xxx\.co\.nz
RewriteRule (.*)$1 [I,R]

Back to Top

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum