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: force ssl on certain files? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TestShootCom
Newbie
Newbie


Joined: 02 November 2003
Location: United States
Online Status: Offline
Posts: 27
Posted: 17 February 2004 at 2:02pm | IP Logged Quote TestShootCom

is it possible to force files like payment.asp to run under ssl?

__________________
[::tSc::]
Test Shoot .com
[::tSc::]
Back to Top View TestShootCom's Profile Search for other posts by TestShootCom Visit TestShootCom's Homepage
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7151
Posted: 18 February 2004 at 1:59am | IP Logged Quote Lexey

RewriteCond %HTTPS off

RewriteCond Host: (.*)

RewriteRule (/payment\.asp.*) https\://$1$2 [I,R]

 



__________________
With best wishes,
Alex Ostapenko,
Helicon Tech.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
Mikel
Newbie
Newbie


Joined: 18 June 2004
Location: Canada
Online Status: Offline
Posts: 31
Posted: 06 February 2008 at 6:46pm | IP Logged Quote Mikel

Does this include any querystring when it redirects? If not how do I add this?

ex. the file would be /payment.asp?ID=1223445

Lexey wrote:

RewriteCond %HTTPS off


RewriteCond Host: (.*)


RewriteRule (/payment\.asp.*) https\://$1$2 [I,R]


 

Back to Top View Mikel's Profile Search for other posts by Mikel Visit Mikel's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6253
Posted: 08 February 2008 at 6:10am | IP Logged Quote Yaroslav

This rule include query strings as well.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 

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