Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: " Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bhellman1
Newbie
Newbie


Joined: 17 May 2007
Online Status: Offline
Posts: 20
Posted: 20 August 2010 at 6:15pm | IP Logged Quote bhellman1

I need to force HTTPS, I'm doing that int he HTTPD.INI but having an
issue..

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

IIS keeps spitting out the following when the Url is HTTP, if it's https it
doesn't error:

-cache
Content-Type: text/html
Content-Length: 161
Location: https://blahblah.mainblah.com/

<html><body>The requested resource was moved. It could be found
here: <a href="https://blahblah.mainblah.com/">https://dev-
notebox.intuit.com/</a></body></html>



Any ideas?
Back to Top View bhellman1's Profile Search for other posts by bhellman1 Visit bhellman1's Homepage
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1534
Posted: 23 August 2010 at 6:15am | IP Logged Quote Vyacheslav

Hello,
Please make sure there is no custom error setting for 301 response code.
Please also get raw response and provide it here. You may use WFetch.
Thanks.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav'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