Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL and Style Sheet


Jadzia

Recommended Posts

Posted

I have installed osc on my web server with the SSL link on another address/server specified by my host. In order to make this work I had to copy the files from the main install into the secure folder - keeping the path cgi-bin/oscommerce/ in both.

 

This works great except the style sheets are not being read in the secure server. The site is at http://shop.narromine.biz/cgi-bin/oscommerce/index.php. If someone could please give me any clues on getting the style sheets in http://shop.narromine.biz/x-scripts to work in the secure area I would really appreciate it.

:'(

Posted
I have installed osc on my web server with the SSL link on another address/server specified by my host. In order to make this work I had to copy the files from the main install into the secure folder - keeping the path cgi-bin/oscommerce/ in both.

 

This works great except the style sheets are not being read in the secure server.  The site is at http://shop.narromine.biz/cgi-bin/oscommerce/index.php.  If someone could please give me any clues on getting the style sheets in http://shop.narromine.biz/x-scripts to work in the secure area I would really appreciate it.

:'(

 

Anyone at all?

Posted

Maybe I am missing something - here is the config file

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.shop.narromine.biz/cgi-bin/oscommerce/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure-neptune.commercevault.com/shop1/cgi-bin/oscommerce/'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.shop.narromine.biz');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'cgi-bin/oscommerce/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'http://www.shop.narromine.biz/x-scripts/oscommerce/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_LANGUAGES_IMAGES', 'http://www.shop.narromine.biz/x-scripts/oscommerce/languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/httpd/html/shop1/cgi-bin/oscommerce/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted
duh ---- sorry I missed that earlier....I saw it....but didnt even occur to me

 

Glad you got it working and told everyone how for others to learn in the future :)

 

 

Well actually after replacing every path for both style sheets AND the general javascript it occured to me that maybe both should be specified in the config file in future versions.

 

Anyway thanks for your help - I have learn't a heap and once again am rapt in my store (for a moment I was going to divorce it!)

 

Happy New Year

Archived

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

×
×
  • Create New...