Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

difficulties with configure.php


jjanguda

Recommended Posts

Hi.. I'm glad that I found such a great forum. thanks to those who help others. I just installed os2.2 on my server. But, my site seems not secure.. Can anyone take a look at my 2 configure.php files? By the way, my root folder is not catalog, but pub_html. (Please keep that in mind.)

 

This is my includes/configure.php file.

 

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

 

 

 

 

 

This is my admin/configure.php file.

 

define('HTTP_SERVER', 'https://host80.ipowerweb.com/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'https://host80.ipowerweb.com/');
 define('HTTPS_CATALOG_SERVER', 'https://host80.ipowerweb.com/');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/myuserid/public_html/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/myuserid/public_html/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/myuserid/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/');

 

 

 

Please help me.

 

Thanks

Link to comment
Share on other sites

I've been searching for ssl and ipowerweb. I found a few posts related this issue. But everyone says differently. As a newbie, I don't know which one is the right setup for ipowerweb users. Can anyone help me on this matter?

I think it's a good idea that posting proper setting for those 2 configure.php on tips and tricks board.

 

BTW, someone said from the line

define('DIR_FS_CATALOG', '/home/myuserid/public_html/'); // absolute path required

 

I should remove "/" at the end. My root folder is public_html, not catalog.

 

 

Thanks in advnace for any help.

Link to comment
Share on other sites

ADMIN

define('HTTP_SERVER', 'https://host80.ipowerweb.com/'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'https://host80.ipowerweb.com/');
define('HTTPS_CATALOG_SERVER', 'https://host80.ipowerweb.com/');

and

define('DIR_FS_DOCUMENT_ROOT', '/home/myuserid/public_html/'); // where the pages are located on the server

should not have a trailing slash

define('HTTP_SERVER', 'https://host80.ipowerweb.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'https://host80.ipowerweb.com');
define('HTTPS_CATALOG_SERVER', 'https://host80.ipowerweb.com');

define('DIR_FS_DOCUMENT_ROOT', '/home/myuserid/public_html'); // where the pages are located on the server

CATALOG

define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://host80.ipowerweb.com/'); // eg, https://localhost - should not be empty for productive servers

should not have a trailing slash

define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://host80.ipowerweb.com'); // eg, https://localhost - should not be empty for productive servers

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

  • 4 months later...

Archived

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

×
×
  • Create New...