Chrisbrewster Posted July 20, 2005 Share Posted July 20, 2005 Hello, I am very new. Please forgive my ignorance. I purchased an SSL Certificate. My host created a dedicated IP address for me and installed my certificate. All I have to do is configure my files for this. I don't know what to do. If anyone is willing to give me basic instructions, I would be very grateful. Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 SSL Certificates, based on what type of server your site is on, are issued either to www.yourdomain.com or just yourdomain.com. You need to know which of these formats your certificate was issued in. Assuming it is www.yourdomain.com do the following: includes/configure.php --------------------------- set enable_ssl to true set https_server address to 'https://www.yourdomain.com' set https_cookie_domain to 'www.yourdomain.com' (same as for http cookie domain) set https_cookie_path to '/' set https_catalog_path to '/' These settings are for an install into the root of the web. If you have installed into a folder e.g.http://www.yourdomain.com/catalog then change the https_catalog_path to '/catalog/' and change the https_cookie_path to '/catalog/' admin/includes/configure.php --------------------------------- set enable_ssl to true to secure all of admin as https enter 'https://www.yourdomain.com' for: http_server http_catalog_server https_catalog_server Vger Link to comment Share on other sites More sharing options...
Chrisbrewster Posted July 20, 2005 Author Share Posted July 20, 2005 I have tried to look in on other posts. I edited some of my admin/includes/configure.php file. I am not sure if I am correct. I don't know what else I am supposed to edit. I also noticed from someone else's screen code that the had domain stuff. I don't see anything like that on mine. How do you get images to be secure too? I am sorry, but I am lost. PLEASE HELP!!! // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://www.quickerwickergiftbaskets.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.quickerwickergiftbaskets.com'); // eg, http://localhost - should not be empty for productive servers ?define('HTTP_CATALOG_SERVER', 'http://www.quickerwickergiftbaskets.com'); ?define('HTTPS_CATALOG_SERVER', 'https://www.quickerwickergiftbaskets.com'); ?define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module ?define('DIR_FS_DOCUMENT_ROOT', '/home/quickwgb/public_html/'); // where the pages are located on the server ?define('DIR_WS_ADMIN', '/admin/'); // absolute path required ?define('DIR_FS_ADMIN', '/home/quickwgb/public_html/admin/'); // absolute pate required ?define('DIR_WS_CATALOG', '/'); // absolute path required ?define('DIR_FS_CATALOG', '/home/quickwgb/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/'); ? Link to comment Share on other sites More sharing options...
Chrisbrewster Posted July 20, 2005 Author Share Posted July 20, 2005 Ok, I configured everything. When you go on my website and try to log in or go to my account, it says the page cannot be displayed. It did not do this before. What do I do? Obviously, it is not going to the secured pages. PLEASE HELP!! Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 edited: You have a missing backslash in your configure.php files. The pathway to login.php should be https://www.yourdomain.com/login.php and not https://www.yourdomain.comlogin.php Vger Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 Sorry - didn't realise, but that's the admin/includes/configure.php file you've posted and not the includes/configure.php file. Vger Link to comment Share on other sites More sharing options...
Chrisbrewster Posted July 20, 2005 Author Share Posted July 20, 2005 edited: You have a missing backslash in your configure.php files. The pathway to login.php should be https://www.yourdomain.com/login.php and not https://www.yourdomain.comlogin.php Vger <{POST_SNAPBACK}> I understand what you are saying, but I don't understand where to fix it. Link to comment Share on other sites More sharing options...
Chrisbrewster Posted July 20, 2005 Author Share Posted July 20, 2005 When I try to log in on my website and it says it cannot find the page, this is the URL: https://www.quickerwickergiftbaskets.comlog...?action=process So you are correct, but how do I fix it? Thanks Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 includes/configure.php ------------------------- define('HTTP_SERVER', 'http://www.yourdomain.com'); define('HTTPS_SERVER', 'https://www.yourdomain.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com); define('HTTPS_COOKIE_DOMAIN', 'www.yourdomain.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Vger Link to comment Share on other sites More sharing options...
Chrisbrewster Posted July 20, 2005 Author Share Posted July 20, 2005 IT WORKED!!!! I am bowing down in great appreciation!!! :D Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 Now the really hard work begins :D Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.