baggers Posted September 15, 2005 Share Posted September 15, 2005 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 More sharing options...
AlanR Posted September 15, 2005 Share Posted September 15, 2005 Read through this: http://www.oscommerce.com/forums/index.php?sho...23entry672623 If you're still stuck after checking that post let us know. 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 More sharing options...
baggers Posted September 15, 2005 Author Share Posted September 15, 2005 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 More sharing options...
Guest Posted September 15, 2005 Share Posted September 15, 2005 post your configure.php file WITHOUT the database connection info. are you using shared or your own ssl? one directory or two? (http / https directories) Link to comment Share on other sites More sharing options...
baggers Posted September 16, 2005 Author Share Posted September 16, 2005 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 More sharing options...
baggers Posted September 20, 2005 Author Share Posted September 20, 2005 Forgot to say that im using my own ssl and that there is only one directory Paul Link to comment Share on other sites More sharing options...
Guest Posted September 20, 2005 Share Posted September 20, 2005 are you saying you created your own ssl or you are using a purchased ssl? Link to comment Share on other sites More sharing options...
baggers Posted September 20, 2005 Author Share Posted September 20, 2005 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 More sharing options...
♥Vger Posted September 20, 2005 Share Posted September 20, 2005 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 More sharing options...
AlanR Posted September 20, 2005 Share Posted September 20, 2005 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 <{POST_SNAPBACK}> 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 More sharing options...
♥Vger Posted September 21, 2005 Share Posted September 21, 2005 Alan? You're repeating yourself - look 8 posts up :D Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.