title: How to redirect http request to https before the basic authentication popup
body: <p>I'm using basic authentication on my site, which does a simple windows popup asking for username and password.  I'm wondering if there's a way to redirect http traffic to https traffic <em>before</em> this popup?  Currently, i'm using a custom redirect error page, so when someone goes to <a href="http://www.mysite.com/" rel="nofollow">http://www.mysite.com/</a> the popup comes up and asks for username password, and after they enter it the page redirects http traffic to https.  But i'm assuming that password is sent in clear text, since the redirect is happening after the login attempt.</p>
  
  <p>I've tried playing with IIS, and javascript on the page itself, but it seems the popup is happening before any of that comes into play.  Is there anyway to redirect before that popup comes up?</p>
  
  <p>Thanks!</p>