Mac Daddy Posted January 15, 2005 Posted January 15, 2005 I have been reading post for 3 days trying all kinds of stuff trying to get my oscommerce up Im a beginner. I believe the certificate is correct it is on www.mydomain.com. my host says its correct. I have a public-html and www. oscommerce installs in both I make changes to public and I believe they update in both. with a fresh install of oscommerce what should my steps be. to secure the admin and checkout or whatever should pe protected. after that how do I secure when somone first hit the sight if they dont plug in https://www.mydomain.com or even if I should worry about that. be advised im a beginner
Guest Posted January 15, 2005 Posted January 15, 2005 post your configure.php file here without the database server, user and password info
Mac Daddy Posted January 15, 2005 Author Posted January 15, 2005 MADE SOME FIXES in admin but catalog ssl not secure with checkout etc. not sure where to go from here. configure.php listed below i hope its the right one ADMIN/INCLUDES/CONFIGURE.PHP <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'https://MYDOMAIN.com'); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/Shopping/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/Shopping/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', ' HIDE'); define('DB_SERVER_PASSWORD', 'HIDE'); define('DB_DATABASE', 'HIDE'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?>
Guest Posted January 16, 2005 Posted January 16, 2005 without your domain info here nothing is going to work in the admin define('HTTP_SERVER', 'https://MYDOMAIN.com'); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', '');
Mac Daddy Posted January 16, 2005 Author Posted January 16, 2005 Yes I just changed that in order to post it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.