Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog/admin not SSL secure


nivo

Recommended Posts

Posted

How do i make it so it doesn't say "You are not protected by a secure SSL connection."

when i am in there and click on administration it takes me to non secure http admin screen, need to make it encrypted.

If i manually go into the https then it will be secure, but without https, like http it wont be. store owner needs to know to include https?

 

catalog/admin/includes/configure.php:

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://www.customtubesinc.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_SERVER', 'http://www.customtubesinc.com');

define('HTTPS_CATALOG_SERVER', 'https://www.customtubesinc.com');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/catalog/admin/');

define('DIR_FS_ADMIN', '/home/shawdow2/customtubesinc-www/catalog/admin/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', '/home/shawdow2/customtubesinc-www/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/backups/');

catalog/includes/configure.php:

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://www.customtubesinc.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.customtubesinc.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.customtubesinc.com');

define('HTTPS_COOKIE_DOMAIN', 'www.customtubesinc.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/shawdow2/customtubesinc-www/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

Oh yeah noticed that the whole admin section is not sssl secured.

 

Orders, customers etc.... unless i type the s manually after i click on the links.

Posted
Oh yeah noticed that the whole admin section is not sssl secured.

 

Orders, customers etc.... unless i type the s manually after i click on the links.

 

 

Set your first http define to your secure path

 

define('HTTP_SERVER', 'http://www.customtubesinc.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

 

 

To

 

define('HTTP_SERVER', 'https://www.customtubesinc.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
Oh yeah noticed that the whole admin section is not sssl secured.

 

Orders, customers etc.... unless i type the s manually after i click on the links.

 

I have the same thing going on with my site and changing the top server to HTTPS:// in catalog/admin/includes/configure.php does not help.

Posted
I have the same thing going on with my site and changing the top server to HTTPS:// in catalog/admin/includes/configure.php does not help.

 

 

That is the solution to the problem and I have never had it not work. Make sure your changes are actually getting saved to the server and overwriting the old version. To make sure you can delete the file from the server and then upload the new version.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

  • 2 weeks later...
Posted
Set your first http define to your secure path

 

define('HTTP_SERVER', 'http://www.customtubesinc.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

To

 

define('HTTP_SERVER', 'https://www.customtubesinc.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

 

 

I have this same problem...I did the above suggestion and it did not work....however, mine looks a bit different than the one above (see below)...could there be something else that I need to do???? As you can see I changed the first http define...but no change. PLEASE advise. ...do I need to change the "false" below to "true"?

 

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'https://teacupsandtadpoles.com');

define('HTTP_CATALOG_SERVER', 'http://teacupsandtadpoles.com');

define('HTTPS_CATALOG_SERVER', 'https://st63.startlogic.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/teacupsa/public_html/osCommerce1/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/osCommerce1/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/teacupsa/public_html/osCommerce1/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/osCommerce1/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/teacupsa/public_html/osCommerce1/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'REMOVED');

define('DB_SERVER_PASSWORD', 'REMOVED');

define('DB_DATABASE', 'REMOVED');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Archived

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

×
×
  • Create New...