I have a development site up that requires a username and password (basic http auth) before the user can see the site. I'd like to redirect to a secure protocol first, before the user can send in the password in clear text. Any thoughts on how to do this using Apache? I have access to the conf and .htaccess files.
The end results would be:
http://xxxx/ -- When user goes here, they get immediately redirected to https:
https -- When user gets here, they get prompted for username / password.