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: Forcing SSL without ’RewriteCond %HTTPS’ Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
thomutv
Newbie
Newbie


Joined: 31 July 2008
Online Status: Offline
Posts: 1
Posted: 13 August 2008 at 9:09am | IP Logged Quote thomutv

Hi

My web app is behind a citrix netscaler and doesn't pass through the HTTPS or any of the HTTPS_* server variables to test for.

So my question is: is there any other way to force a secure redirect on specified folders without using the standard

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

rules, as this just ends up in a constant loop.
Back to Top View thomutv's Profile Search for other posts by thomutv
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 13 August 2008 at 11:27am | IP Logged Quote Lexey

I guess you mean that netscaler server HTTPS connection itself and forwards requests to IIS over HTTP, right? In this case there is no way to identify whether original request was HTTPS or HTTP.
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