Noobish-n-stuff Posted December 5, 2003 Posted December 5, 2003 I just want to make sure that i have my configure.php file set right. (plus this will make a good reference for anyone searching for how to do this) // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.moto-works.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://host84.ipowerweb.com/~moto-wor'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.moto-works.com'); 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/moto-wor/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', 'xxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxx'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' looks right to me, what do you think??
Guest Posted December 5, 2003 Posted December 5, 2003 what happens when you use this script? (backup the old scripts first, both in the includes and the admin includes)
Guest Posted December 5, 2003 Posted December 5, 2003 The HTTPS_COOKIE_DOMAIN should be host84.ipowerweb.com Other than that, it looks correct. Note: you can run the site in both places. That way you can test it in root before trying. The simplest method that I've found is to download the catalog directory and then upload all the files and directories into the root. So long as catalog doesn't have a catalog subdirectory, everything should work now, in both places. When you are ready, you can delete the catalog directory. Hth, Matt
Noobish-n-stuff Posted December 5, 2003 Author Posted December 5, 2003 acutally, the HTTPS_COOKIE_DOMAIN is correct. it is a shared SSL :( so i have to add that crap on the end. I plan on backing up the entire site before i try this. it should work, but i'm not taking the chance. any reason i should be more concerned with backing up the includes folders?? i never backup just a folder or two, but that's me. thanks everyone...
Guest Posted December 5, 2003 Posted December 5, 2003 acutally, the HTTPS_COOKIE_DOMAIN is correct. it is a shared SSL :( so i have to add that crap on the end.That's the HTTPS_SERVER (which looks correct to me). Your HTTPS_COOKIE_DOMAIN is set to '/' which is not a valid cookie domain setting. You won't need the extra stuff in the cookie domain (you do need it in the HTTPS_SERVER). Hth, Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.