www redirect for https

Topics: Developer Forum, Project Management Forum, User Forum
Jan 12, 2010 at 2:55 PM

I've add the IIRF asapi filter and its seems to work great with the following, but if the user types in https://testsite.com its untrusted, but the below doesn't seem to redirect them at all(the bold statement). Am I missing something? Got them in the wrong order.

RewriteLog c:\inetpub\iirfLogs\iirf
RewriteLogLevel 3
RewriteFilterPriority HIGH
IterationLimit 2
MaxMatchCount 4

RewriteCond %{HTTPS} off
RewriteCond %{SERVER_PORT} ^80$
RedirectRule ^/(.*)$ https://www.testsite.com/$1 [R=301]

RewriteCond  %{HTTP_HOST}  ^testsite\.com$
RedirectRule ^/(.*)$      
https://www.testsite.com /$1         [R=301]

Jan 12, 2010 at 4:14 PM

This would be easiest to diagnose with the contents of the log file.