Auto redirect HTTP to HTTPS (SSL)

for osCommerce Online Merchant v2.2

This is a very simple and small mod to let osCommerce admin automatically switch from HTTP to HTTPS (SSL). Add the code in the file (.htaccess) to the existing one in the admin directory on the webserver (if this exists). Please double check if your FTP browser shows hidden files!! Otherwise you'll overwrite the existing .htaccess. If the .htaccass doesn't exists then simply upload the .htaccess into the admin folder on your webserver. This is the code to add. (Do not change anything!): RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}