Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Added SSL - Now Images and Icons Not Showing (LIVE SITE HELP!)


n2advnture

Recommended Posts

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

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

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?

 

 

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

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

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 on

RewriteCond %{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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...