I've done some further research and found that this rewrite works so that if I enter domain.com/secure, the browser is sent to the secure page:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(secure)/* https://secure.inmotionhosting.com/test.php
But I have three questions:
The important one: Does this offer the same level of encryption of data sent to the server as would be present by simply pointing the browser to the secure server in the first place.
The others
1. Whenever I've used a rewrite rule before the address typed in the location bar never changed and the information from the page the user was redirected to was just shown. However, in this case, the secure location is actually shown in the address bar. Is there a way to force the redirection while allowing the address bar to say domain.com/secure
- Is there a way to have a redirect rule that allows the user to type https://domain.com and it redirect to the actual secure location without the browser going crazy and claiming that the site is probably fraudulent?
Thanks