Rachael w. Posted October 14, 2006 Posted October 14, 2006 I cant seem to get my ssl to work properly. I have my store installed to www.the-antique-store.com/catalog. I have my ssl cert registered to www.the-antique-store.com. My includes/configure.php files are as follows: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.the-antique-store.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.the-antique-store.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.the-antique-store.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.the-antique-store.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/'); For some reason I am getting page not found on the login.php. I was under the impression that I did not need to move any files to the https folder on my server that just changing the code would work, but I cant see what I am doing wrong. I was following the instructions on this topic in the forums. Can anyone see an obvious error in my code?
Rachael w. Posted October 14, 2006 Author Posted October 14, 2006 If you go to my site, I currently have it set to false because I dont want to bring up the page error for anyone currently using it. When one clicks My account (not logged in) it directs one to the https://www.the-antique-store.com/catalog/login.php as it should but there is where the page not found error is.
digbydo Posted October 14, 2006 Posted October 14, 2006 Try: define('HTTP_SERVER', 'https://www.the-antique-store.com'); define('HTTPS_SERVER', 'https://www.the-antique-store.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.the-antique-store.com'); define('HTTPS_COOKIE_DOMAIN', 'www.the-antique-store.com'); other bits stripped out for ease of reading.... That works fine here :) one-click installation.. Dave's info
Rachael w. Posted October 14, 2006 Author Posted October 14, 2006 Ok, i tried that, and my images on the main site didnt show up. but I still tried to access the acount and the login.php still showed the 404 error. Sooo, I'm back to the same code I had with it set to false. Thanks for your effort there.
Rachael w. Posted October 14, 2006 Author Posted October 14, 2006 well, I thought I would also try to secure the admin. Didnt work! I get the same 404 page not found error. Is it possible I have an http:// where it shouldnt be?
Rachael w. Posted October 15, 2006 Author Posted October 15, 2006 Ok, guess I'll figure it out on my own. Turns out its the plesk two folder issue. I am still working on it. Can I just preserve the file structure and copy only the php files to the https or do I need to copy the images also?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.