mikesreel Posted January 14, 2007 Share Posted January 14, 2007 ssl pages ask to open with a text editor rather than open up normally. I had my host install a new certificate recently and now this....I am waiting for a reply from them now, but thought this may be quicker? Link to comment Share on other sites More sharing options...
mikesreel Posted January 14, 2007 Author Share Posted January 14, 2007 I had to turn SSL off in order for the site to work. How and why would new certificate change this? Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2007 Share Posted January 14, 2007 post your configuration file without the dbase sensitive info. Link to comment Share on other sites More sharing options...
mikesreel Posted January 14, 2007 Author Share Posted January 14, 2007 Here's the /includes/configure.php file... <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mikesreelrepair.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.mikesreelrepair.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.mikesreelrepair.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mikesreelrepair.com'); 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/httpd/vhosts/mikesreelrepair.com/httpdocs/'); 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', 'XXXXX'); define('DB_SERVER_PASSWORD', 'XXXXX'); define('DB_DATABASE', 'XXXXX'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2007 Share Posted January 14, 2007 ok there are few issues with the settings. The secure domain is reported without the www. field. And I would expect for the cookies domain to be the same. As of the SSL I get warnings so you may want to ask your host about before checking the osc code further. Looks like the php server is not running when the browser attempts to access something from the secure connection otherwise it should execute the php code and not attempt to open the file or the SSL is not working. Again your host should be able to resolve this. Finally you are enforcing cookies. For this to work the secure non-secure domains have to be the same. So if you want to have www.yoursite321.com tell your host to issue an SSL with the same name (and not just yoursite321.com). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.