This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Redirect from http to https
Author
Message |
Steve2106
Newbie


Joined: 20 December 2011
Location: United Kingdom
Posts: 1
Posted: 20 December 2011 at 4:51am

Hi There,

First post here.
I am using ReWrite 3.0 Lite and I would like to auto redirect to https from http.
I have added a file called "httpd.ini" to my websites root directory and the file contains this text:
RewriteEngine on
# http://www.isapirewrite.com/
# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
RepeatLimit 32
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# redirect all http requests  to https
RewriteCond  %HTTPS (?!on).*
RewriteCond Host: (.*)
RewriteRule (.*) https\://$1$2 [I,RP]

This does not work though. Am I missing something? is there a service running that picksup that "httpd.ini" is in my websites root directory and runs the commands automatically or do I need to do something else.

Thanks for your help.

 



__________________
Best Regards,

Steve
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 21 December 2011 at 5:45am

ISAPI_Rewrite 3 does not support httpd.conf, while ISAPI_Rewrite 2 does.
Please specify the version of ISAPI_Rewrite.

Regards
Andrew
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version