Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reconfiguring SSL


Guest

Recommended Posts

I am having a major situation that I can't seem to fix. My web host set up osCommerce for me. They have the whole site behind SSL, meaning, none of my pages will be indexed by search engines. I have been trying to contact them for 2 months now and they refuse to respond to me. I have been trying to find out how to get everything but the pages where customers are entering information off SSL. I need to only have the pages where customers are giving credit card numbers, personal information, or updating account information behind SSL.

 

If ANYONE knows how to do this, please let me know. Thanks.

Link to comment
Share on other sites

We need a little more info.

 

Do you understand how the server is set up? You must have an ftp program, are there two folders, secure and non secure? Maybe they were just lazy.

 

Want to give us a link?

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

We need a little more info.

 

Do you understand how the server is set up? You must have an ftp program, are there two folders, secure and non secure? Maybe they were just lazy.

 

Want to give us a link?

 

Sorry :blush:

 

The SSL cert is shared through the web host. They do not use secure folders, to secure, they alter the link to:

 

https://host338.ipowerweb.com/~belladon/sho...g_cart/catalog/

 

The main URL is www.belladonnagifts.net

 

If you go to http://www.belladonnagifts.net/shopping_cart/catalog you can view the page without SSL, however, as soon as you click on a link to anything, it automatically goes to a secure link.

Link to comment
Share on other sites

then this is your configure.php file settings, post the configure.php here without the database connection info

 

Yes, a simple fix.

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

then this is your configure.php file settings, post the configure.php here without the database connection info

 

 

/*

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', 'https://host338.ipowerweb.com');

define('HTTPS_SERVER', 'https://host338.ipowerweb.com');

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

define('HTTP_COOKIE_DOMAIN', 'belladonnagifts.net');

define('HTTPS_COOKIE_DOMAIN', 'host338.ipowerweb.com/~belladon');

define('HTTP_COOKIE_PATH', '/~belladon/shopping_cart/catalog/');

define('HTTPS_COOKIE_PATH', '/~belladon/shopping_cart/catalog/');

define('DIR_WS_HTTP_CATALOG', '/~belladon/shopping_cart/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/~belladon/shopping_cart/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/belladon/public_html/shopping_cart/catalog/');

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', '*********');

define('DB_SERVER_PASSWORD', '*******');

define('DB_DATABASE', '**********');

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

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

Link to comment
Share on other sites

Derrrrr,  :-"  I just found the screwup  >_<

 

I never saw the "Http server" setting

 

Thanks guys  :thumbsup:

You have to change all the http lines, not just the one.

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...