Webpipe Internet Solutions
  Webpipe Internet Services   Webpipe Internet Services   Webpipe Internet Services   Webpipe Internet Services   Webpipe Internet Services
Home Company Info Internet Service Hosting Services Support
Discussion and support Forums   Website Hosting   Wireless, DSL, and Dial-up internet access   Affiliate Login

Oscommerce force secure admin

From Webpipe Wiki

This will force the admin interface to use your secure certificate so that potentially sensitive customer data is encrypted between the web server and your browser.

Add the following code to the bottom of /catalog/admin/includes/application_top.php just before the final closing "?>"

if($_SERVER['SERVER_PORT'] == 80) {
  Header("Location: " . HTTPS_CATALOG_SERVER . DIR_WS_ADMIN);
  exit;
}
Views