Lizphilli Posted December 30, 2005 Share Posted December 30, 2005 When trying to access the secure area of my site I get a blank page. I have two identitical installations one in a secure directory and one in a public directory. For the config files set to the insecure mode, the site works. This is a fresh install, but these configure.php values worked previously. These are my config.php files: catalog/includes/configure.php <?php /* 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 the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) //* catalog/includes/configure.php define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.securewebexchange.com/mydomain.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.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.securewebexchange.com/mydomain.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ' '); 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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/services/webpages/f/l/mydomain.com/public/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'mysqlserver.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbm.mydomain.com'); define('DB_SERVER_PASSWORD', '*******l'); define('DB_DATABASE', 'store_mydomain_com'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> admin/includes/config.php <?php /* 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) /* admin/includes/config.php This is the working secure installation */ define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.securewebexchange.com/mydomain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/services/webpages/f/l/mydomain.com/public/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/services/webpages/f/l/mydomain.com/public/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/services/webpages/f/l/mydomain.com/public/catalog/'); // 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/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'mydomainserver'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbm.mydomain.com'); define('DB_SERVER_PASSWORD', '*******l'); define('DB_DATABASE', 'store_mydomain_com'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Any help will be much appreciated Link to comment Share on other sites More sharing options...
♥Vger Posted December 30, 2005 Share Posted December 30, 2005 For the config files set to the insecure mode, the site works The configure.php files in your ssl folder and your configure.php files in your public directory should be identical. Vger Link to comment Share on other sites More sharing options...
Lizphilli Posted January 1, 2006 Author Share Posted January 1, 2006 The configure.php files in your ssl folder and your configure.php files in your public directory should be identical. Vger They are. I set up the installation in the public directory and then copied the complete installation to the secure directory. Link to comment Share on other sites More sharing options...
♥Vger Posted January 1, 2006 Share Posted January 1, 2006 Well, those configure.php files look to be okay - so it's probably something to do with the way your hosting company's servers handle ssl. I don't have the info to hand, but if you do a search of this forum for 1and1 or look at the posts of user AlanR (who's posted a good deal about SSL problems) then you may find your answer there. Vger Link to comment Share on other sites More sharing options...
Lizphilli Posted January 1, 2006 Author Share Posted January 1, 2006 Well, those configure.php files look to be okay - so it's probably something to do with the way your hosting company's servers handle ssl. I don't have the info to hand, but if you do a search of this forum for 1and1 or look at the posts of user AlanR (who's posted a good deal about SSL problems) then you may find your answer there. Vger Thank you for your fast reply. I have read AlanR's posts and checked my application_top.php file which is identical to my previous settings which worked. I can see the catalog files in a directory listing of the secure folder, but am unable to access them through a browser. I am able to access the file 'hello.php' in the catalog directory. Do you have any other suggestions for files I should check. The domain is www.floweraffairs.com Many thanks once again. Liz Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.