billfwi Posted January 19, 2006 Posted January 19, 2006 Can anyone suggest where I can find the configuration to set https in /admin. I go to https://mysite.com/admin and I'm in SSL, but every link within admin goes to http rather than https so when I click on orders, or customer or any other link in /admin I go out of SSL to plain ol' http. Here's my /admin/configure.php define('HTTP_SERVER', 'https://mysite.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'https://mysite.com'); define('HTTPS_CATALOG_SERVER', 'https://mysite.com'); 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', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); Thanks in advance.
ozcsys Posted January 19, 2006 Posted January 19, 2006 Can anyone suggest where I can find the configuration to set https in /admin. I go to https://mysite.com/admin and I'm in SSL, but every link within admin goes to http rather than https so when I click on orders, or customer or any other link in /admin I go out of SSL to plain ol' http. Here's my /admin/configure.php define('HTTP_SERVER', 'https://mysite.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'https://mysite.com'); define('HTTPS_CATALOG_SERVER', 'https://mysite.com'); 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', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); Thanks in advance. If your first http define is set to https then you should be using secure links in your admin. Do you have your own ssl cert? If so then it should be working, if you are on a shared cert then you need to use the shared cert path that your hosting company provided. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
draxion Posted January 20, 2006 Posted January 20, 2006 thanks for the tip... that worked great for me. I was wondering how to do this. ~Shayne
rachmyers Posted January 20, 2006 Posted January 20, 2006 The exact same is happening for me. I am using my own SSL cert. Any other suggestions? The site was originally and bulit on an unsecure server. Would this make difference? Many thanks, Rachel
billfwi Posted January 20, 2006 Author Posted January 20, 2006 If your first http define is set to https then you should be using secure links in your admin. Do you have your own ssl cert? If so then it should be working, if you are on a shared cert then you need to use the shared cert path that your hosting company provided. Well, I am using my own SSL cert and I can go to the admin panel in https, but all the links in the admin panel, when you place you mouse on them, go to http NOT https. I cannot find the location that designates those links as https.
Guest Posted January 21, 2006 Posted January 21, 2006 try modifying the tep_href_link function to use 'SSL' as the default connection.
rachmyers Posted January 23, 2006 Posted January 23, 2006 Could you please elaborate on that?? Where do I find this tep_href_link to edit? I did a search on this in the code and I came up with about 50 different files using it. There must be one place to change all of those?? Even my server tech support could not figure this one out...I am still waiting for their response. Rachel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.