Working but ummm not working

Topics: User Forum
Oct 30, 2007 at 11:08 PM
Edited Nov 2, 2007 at 3:58 PM
I have setup Isapi Rewrite, and created a rule to redirect all port 80 traffic to 443 using the following rules:

"RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$$1"

I attempt to go to to test the rewrite, and the page fails to load.

I look at the logs and see the following:

"Tue Oct 30 16:11:47 2007 - Condition: checking '80' against pattern '^80$'
Tue Oct 30 16:11:47 2007 - Condition true, Rule applies (rc=0)
Tue Oct 30 16:11:47 2007 - Result (length 66):
Tue Oct 30 16:11:47 2007 - ApplyRules (depth=1)
Tue Oct 30 16:11:47 2007 - Rule 1 : -1
Tue Oct 30 16:11:47 2007 - Rewrite Url to: ''"

I looks like it worked, but i'm not getting the results I want which is to force any HTTP request to go over HTTPS instead.

What I am trying to accomplish is this:

The entire site is SSL, but I would like for users to be able to type in the URL with out specifying HTTPS and simply redirect all of their request to the secure page.

Any help would be appreciated.

I've decide to go SSL only on the site and redirect using a customized 403 error page.