Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin section links to https


Guest

Recommended Posts

Posted

Is there an easy way to change all navigation links within the /admin section to https?

I can login to admin using https but all links revert back to http.

Posted
Is there an easy way to change all navigation links within the /admin section to https?

I can login to admin using https but all links revert back to http.

Edit your admin/includes/configure.php

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'https://secure.*****.co.uk/*****/catalog/'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www*******.com/catalog/');

define('HTTPS_CATALOG_SERVER', 'https://secure.*****t.co.uk/~*****/catalog/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/usr/users/*****/public_html/catalog/'); // where the pages are located on the server

 

is how my file looks

 

Steve

Posted
Edit your admin/includes/configure.php

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

  define('HTTP_SERVER', 'https://secure.*****.co.uk/*****/catalog/'); // eg, http://localhost - should not be empty for productive servers

  define('HTTP_CATALOG_SERVER', 'http://www*******.com/catalog/');

  define('HTTPS_CATALOG_SERVER', 'https://secure.*****t.co.uk/~*****/catalog/');

  define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

  define('DIR_FS_DOCUMENT_ROOT', '/usr/users/*****/public_html/catalog/'); // where the pages are located on the server

 

is how my file looks

 

Steve

 

Thanks Steve I will give that a try tomorrow, looks easy enough (touch wood)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...