Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: enforcing https on a URL (not domain name Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dyeoks
Newbie
Newbie


Joined: 03 August 2008
Online Status: Offline
Posts: 5
Posted: 03 August 2008 at 10:57pm | IP Logged Quote dyeoks

I need to do a enforce https on

www.xyz.com.au/payment
www.xyz.com.au/payment/.money

i've installed isapi_rwl_0034.msi

below are the rules that i used, but its NOT working:

#RewriteCond URL ^/payment
#RewriteRule  (.*)  https\://www\.xyz\.com\.au/payment [I,L,RP]

#RewriteCond URL ^/payment/\.money
#RewriteRule  (.*)  https\://www\.xyz\.com\.au/payment/\.money [I,L,RP]


Pls advise what mistake(s) did i make?
Back to Top View dyeoks's Profile Search for other posts by dyeoks
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 07 August 2008 at 6:58pm | IP Logged Quote Lexey

First, I would recommend you to install the latest build 72. 34 is too old.

Here is the rule:

RewriteCond Host: (.*)
RewriteCond %HTTPS (?!on).*
RewriteRule /payment(/.*)? https\://$1/payment$2 [I,RP]
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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