Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php modification help


softvoice

Recommended Posts

I've posted a similar issue on other board, but no one answer and

I can't fix it by myself.. I do really help here.

 

 

I've modified my includes/configure.php file like this..

 

 

define('HTTP_SERVER', 'http://relyonyou.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://host180.ipowerweb.com/~relyonyo'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '/');
define('HTTPS_COOKIE_DOMAIN', '/');
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', '/home/relyonyo/public_html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

However, after the address such as https://host180.ipowerweb.com/~relyonyo/account.php doesn't show me encrypted code like osCsid=ebd69960e659e295943b3ac134cacc7e.

 

Do you have any idea about that and does will it cause a serous security problem?

 

 

I really need your advice..

 

Please help me out here.

Link to comment
Share on other sites

Change these like so:

 

define('HTTP_COOKIE_DOMAIN', 'relyonyou.com');

define('HTTPS_COOKIE_DOMAIN', 'host180.ipowerweb.com/~relyonyo');

 

The session id should disappear after a few clicks. It will only show at first.

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