IIRF - Redirecting all traffic to the http equivalent
Posted
by
GordonB
on Server Fault
See other posts from Server Fault
or by GordonB
Published on 2010-12-21T16:52:21Z
Indexed on
2010/12/21
17:55 UTC
Read the original article
Hit count: 213
I'm using IIRF and having some trouble getting it to redirect all traffic to the secure version of my sites.
So... I have a website with about 20 apps in virtual directories in IIS6. The website takes 80 and 443 traffic. I want to use IIRF to redirect all port 80 traffic EG; http://myserver/app1/page1/param1 http://myserver/app2/ http://myserver
To the secure equivalent (https).
Here's my config so far;
# Iirf.ini
#
# ini file for IIRF
#
RewriteLogLevel 1
RewriteLog D:\Websites\Apptemetry\IirfLogs
RewriteEngine ON
StatusInquiry ON
IterationLimit 5
RewriteLogLevel 3
RewriteCond %{HTTPS} off
RewriteCond %{SERVER_PORT} ^80$
RedirectRule ^http(.*)$ https$1
Can anyone advise the correct configuration to use, to redirect all traffic?
© Server Fault or respective owner