jjanguda Posted May 15, 2004 Share Posted May 15, 2004 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 More sharing options...
stevel Posted May 15, 2004 Share Posted May 15, 2004 Do a search in this forum for ssl and ipowerweb - there are quite a few posts explaining how to set up this combination on that host. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
jjanguda Posted May 15, 2004 Author Share Posted May 15, 2004 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 More sharing options...
stevel Posted May 15, 2004 Share Posted May 15, 2004 I don't use ipowerweb - and based on complaints I have seen, I wouldn't. But the trailing slash on DIR_FS_CATALOG is right. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
241 Posted May 16, 2004 Share Posted May 16, 2004 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
minuteago Posted September 22, 2004 Share Posted September 22, 2004 GReat post!! minuteago Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.