URL bar in Internet Explorer 7 not updating on 301 redirect

Topics: User Forum
Apr 16, 2009 at 9:20 PM
Edited Apr 16, 2009 at 10:49 PM
I'm trying to redirect all requests to .aspx pages to our secure server. Browser requests are redirected to the problem URL, and the new URL is displayed in Firefox clients. Unfortunately, the URL is not updated on Internet Explorer 7 clients. Am I missing something in my configuration to do this?

RedirectRule ^/(.*.aspx)    https://server2/$1 [I,R=301]

Incoming request http://server1/foo.aspx. Both clients are redirected to https://server2/foo.aspx

Firefox URL bar shows: https://server2/foo.aspx
IE 7 URL bar shows: http://server1/foo.aspx

EDIT: I answered my own question. The request to https://server2/foo.aspx was failing (I knew this. I was testing it on a staging box without ssl) and the behavior in the IE and Firefox clients was different. Once the link to the HTTPS redirect was working the URL updated in IE 7 as expected.