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
Author
Message |
Meander365
Newbie


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 https://www.xxx.co.nz to be redirected to https://www.xxx.com - including any additional paths and/or query strings.

I've tried this but it just loops:

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

Any ideas?

Back to Top
 
Guests
Guest


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

Hello,

please try using the following:

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

Regards
Andrew
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