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
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: SSL Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
garybh
Newbie
Newbie


Joined: 25 February 2010
Online Status: Offline
Posts: 11
Posted: 25 February 2010 at 4:04pm | IP Logged Quote garybh

I would like to see a rule that would map from

http://www.example.com/subdirectory1

to

https://secure.example.com/subdirectory2
Back to Top View garybh's Profile Search for other posts by garybh
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 26 February 2010 at 2:51am | IP Logged Quote Anton

Please try to use somethiing like this:

[ISAPI_Rewrite]
RewriteCond %HTTPS off
RewriteCond Host: www\.example\.com
RewriteRule /subdirectory1(.*) https\://secure\.example\.com/subdirectory2$1 [I,P]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
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