Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCommerce, XAMPP and SSL


Besnell

Recommended Posts

Greetings everyone.

 

I am having an issue with the secure communications with my store Riders Village Store. I am noticing two issues. The first and singly most important is that whenever I get redirected to a secure page (for example clicking on the "My Account" when not logged in" results in receiving the standard IE "Page cannot be found" error.

 

When I access the secure site via it's internal IP Address "https://192.168.1.253" I get the site without the jpg's and css styles. However when I access the site from it's external IP address https://216.58.101.237 I get the standard Windows "Page cannot be found" error.

 

So as things stands I am not sure if the issue is with my XAMPP installation, or with my osCommerce configuration.

 

For convenience here is my httpd.conf, httpd-ssl.conf, and httpd-vhosts.conf files.

 

my /includes/configure.php looks like:

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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://store.ridersvillage.ca'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://store.ridersvillage.ca'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'store.ridersvillage.ca');
 define('HTTPS_COOKIE_DOMAIN', 'store.ridersvillage.ca');

 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_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', 'D:/www/store.ridersvillage.ca/www/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'RVAdmin');
 define('DB_SERVER_PASSWORD', 'RVAdmin');
 define('DB_DATABASE', 'riders_village_store');
 define('USE_PCONNECT', 'true'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

I've spent most of the afternoon on this and I am still uncertain where I am making my mistake.

 

Any and all help is appreciated.

 

Thank You for your time.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...