n2advnture Posted November 30, 2005 Share Posted November 30, 2005 I added an SSL Cert and everything seems to be working fine EXCEPT, when I go to my secure checkout, all the icons and pictures disappear. (This also occurs in the Admin panel) Any ideas on how to get the secure checkout & admin panel to see where the images are? (I assume catalog/images) BTW - My site is live!!! Please help! Thanks for looking ~Mark Link to comment Share on other sites More sharing options...
n2advnture Posted November 30, 2005 Author Share Posted November 30, 2005 This occurs in all instances where the user is in "https://" Link to comment Share on other sites More sharing options...
n2advnture Posted November 30, 2005 Author Share Posted November 30, 2005 Here is the live site. http://cigarmony.com/store/login.php - looks fine in http:// https://cigarmony.com/store/login.php - looks messed up in https:// Link to comment Share on other sites More sharing options...
AlanR Posted November 30, 2005 Share Posted November 30, 2005 Your certificate is for www.cigarmony.com Why do you have... define('HTTPS_SERVER', 'https://cigarmony.com'); // eg, https://localhost set in your catalog/includes/configure.php file? Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
n2advnture Posted November 30, 2005 Author Share Posted November 30, 2005 Your certificate is for www.cigarmony.comWhy do you have... define('HTTPS_SERVER', 'https://cigarmony.com'); // eg, https://localhost set in your catalog/includes/configure.php file? I was told by my host that https://cigarmony.com is where the ssl cert was installed. // Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.cigarmony.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://cigarmony.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'cigarmony.com'); define('HTTPS_COOKIE_DOMAIN', 'cigarmony.com'); // * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://cigarmony.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://cigarmony.com'); define('HTTPS_CATALOG_SERVER', 'https://cigarmony.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Link to comment Share on other sites More sharing options...
n2advnture Posted November 30, 2005 Author Share Posted November 30, 2005 I have been working on this for 2 days and can't figure it out. Any ideas at all? Thanks, ~Mark Link to comment Share on other sites More sharing options...
n2advnture Posted November 30, 2005 Author Share Posted November 30, 2005 I just changed all http:// reference to the https://cigarmony server and some of the images appear now but not quite all of them. Weird....any ideas on how to get the rest? catalog/includes/config.php // Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://cigarmony.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://cigarmony.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? Alright, that was a bad idea....pics in the catalog then disappeared and the entire site was secure. Link to comment Share on other sites More sharing options...
n2advnture Posted November 30, 2005 Author Share Posted November 30, 2005 GOT!!! This was in my .httaccess file (which also had my url redirect). It took this out and it works fine. Can anyone speculate on the ramifications of removing this? RewriteEngine onRewriteCond %{HTTP_REFERER} !^http://cigarmony.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://cigarmony.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.cigarmony.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.cigarmony.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.