Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php setting


Guest

Recommended Posts

Posted

Hi

 

Can anyone tell me if my cinfig settings are set right.

 

I am trying to stop sid`s on my URL

I have set Force Cookie Use to ture.

 

Below is my 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://argozy.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://web92.secure-secure.co.uk'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'argozy.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'web92.secure-secure.co.uk');

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

define('HTTPS_COOKIE_PATH', '/argozy.co.uk//');

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

define('DIR_WS_HTTPS_CATALOG', '/argozy.co.uk//');

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/sites/argozy.co.uk/public_html/');

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', 'web92-a-shopp-50');

define('DB_SERVER_PASSWORD', 'qKVKKczTn');

define('DB_DATABASE', 'web92-a-shopp-50');

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

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

 

 

 

Many Thanks

 

Tony

Posted
Hi

 

Can anyone tell me if my cinfig settings are set right.

 

I am trying to stop sid`s on my URL

I have set Force Cookie Use to ture.

 

Below is my 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://argozy.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://web92.secure-secure.co.uk'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'argozy.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'web92.secure-secure.co.uk');

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

define('HTTPS_COOKIE_PATH', '/argozy.co.uk//');

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

define('DIR_WS_HTTPS_CATALOG', '/argozy.co.uk//');

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/sites/argozy.co.uk/public_html/');

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', 'web92-a-shopp-50');

define('DB_SERVER_PASSWORD', 'qKVKKczTn');

define('DB_DATABASE', 'web92-a-shopp-50');

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

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

Many Thanks

 

Tony

 

I'm not sure about your config settings, but you should probably change your database password since you just posted it. (:

Posted
I'm not sure about your config settings, but you should probably change your database password since you just posted it. (:

 

 

Oh.!!!

Thanks very much for that it has just been changed.

 

Tony

Archived

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

×
×
  • Create New...