Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL


baggers

Recommended Posts

Hi,

 

In my SSl pages on the shop site (Ie. account.php etc.), the page is showing in ssl, but the images aren't, they're still showing from the standard site (http://...), this is resulting in the padlock not being displayed at the bottom as the page is not fully secure.

 

Any ideas how to get the secure pages to also get the secure images?

 

Thanks,

 

Paul

Link to comment
Share on other sites

Just checked that post and yep i'm still stuck! All i need to be able to do is when ssl is being used in the shop cart, (ie. for acocunt pages, checkout etc.) , that the images that are being sourced appear as ssl too so the padlock would show up.

 

Paul

Link to comment
Share on other sites

This is the includes/configure.php file

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

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

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

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

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

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

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

define('DIR_FS_DOCUMENT_ROOT', '/domains/m/y/mydomain.com/public_html/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/domains/m/y/mydomain.com/public_html/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/domains/m/y/mydomain.com/public_html/'); // 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', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'xxx');

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

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

?>

 

Thanks,

 

Paul

Link to comment
Share on other sites

A purchased SSL from my hosting company. What I meant was it was a personal one, rather than the cheaper shared ssl.

 

There is only one the directory, the ssl just reads from the normal public_html folder, im guessing this is why it is showing the non secure images.

 

Paul

Link to comment
Share on other sites

Your configure.php file looks fine, so it's possible that you are hosted with someone like 1and1 and have a problem resulting from that.

 

It would help if you posted your actual domain name so that we could see what is going on.

 

Vger

Link to comment
Share on other sites

Hi,

 

In my SSl pages on the shop site (Ie. account.php etc.), the page is showing in ssl, but the images aren't, they're still showing from the standard site (http://...), this is resulting in the padlock not being displayed at the bottom as the page is not fully secure.

 

Any ideas how to get the secure pages to also get the secure images?

 

Thanks,

 

Paul

 

Read this:

 

http://www.oscommerce.com/forums/index.php?sho...23entry672623

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...