Jadzia Posted January 1, 2005 Posted January 1, 2005 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. :'(
Jadzia Posted January 1, 2005 Author Posted January 1, 2005 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. :'( <{POST_SNAPBACK}> Anyone at all?
TCwho Posted January 1, 2005 Posted January 1, 2005 I believe your problems is in your configure.php file (either in catalog/configure.php or catalog/admin/configure.php) hope that helps you.... ....if you do post them for help..do not include the bottom information with your database name and password... Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Jadzia Posted January 1, 2005 Author Posted January 1, 2005 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/');
Jadzia Posted January 1, 2005 Author Posted January 1, 2005 I have just found and fixed the problem. the link to the style sheet in each file had to be changed to <link rel="stylesheet" type="text/css" href="http://shop.narromine.biz/x-scripts/oscommerce/stylesheet.css"> from <link rel="stylesheet" type="text/css" href="/x-scripts/oscommerce/stylesheet.css"> Weird but it works. Thanks for the help :D
TCwho Posted January 1, 2005 Posted January 1, 2005 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 :) Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Jadzia Posted January 1, 2005 Author Posted January 1, 2005 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 :) <{POST_SNAPBACK}> 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.