tecmiz Posted June 13, 2005 Posted June 13, 2005 Hi folks, I have read many of the posts on setting up SSL with OSC2..2 and done many searches on this forum so I?m only asking for help after trying all that I could find. I am using a shared SSL server. I would use a dedicated SSL but the host I am with doesn?t allow you to install your own SSL. If I can?t fix this I will have to change host. My domain is www.myshop.co.uk (myshop is an alias) OSC2.2 is running perfectly on this. However my SSL folder is https://vault2.secured-url.com/myshop Where myshop is a folder not linked to myshop.co.uk. I think this may be the problem but don?t know how to solve it. When I put this path into the configure.php files and try to access any of the secure pages I get: The directory name is invalid. I uploaded catalog to the SSL folder and also tried it without catalog in SSL folder but no success. The configure.php files are given below for information. includes/configure.php define('HTTP_SERVER', 'http://myshop.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://vault2.secured-url.com/myshop'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'myshop.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'vault2.secured-url.com/myshop'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_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', '/home/fhlinux201/d/myshop.co.uk/user/htdocs/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); admin/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://myshop.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://myshop.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com/myshop'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/fhlinux201/d/myshop.co.uk/user/htdocs/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/fhlinux201/d/myshop.co.uk/user/htdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/fhlinux201/d/myshop.co.uk/user/htdocs/'); // 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/'); Can anyone point me in the right direction? Sorry for the long post but hopefully all the info is there if anyone can help. Hoping for a quick response, thanks.
♥Vger Posted June 13, 2005 Posted June 13, 2005 Looking at your shared ssl pathways - are you hosted with Fasthosts? If you are their shared ssl won't work with osCommerce. Vger
tecmiz Posted June 13, 2005 Author Posted June 13, 2005 Looking at your shared ssl pathways - are you hosted with Fasthosts? If you are their shared ssl won't work with osCommerce. Vger <{POST_SNAPBACK}> Vger, Thanks for a super fast response. You're right I am with Fasthosts. So is that definite there is no way to make it work? I only signed up with fasthosts about two weeks ago. Their package offered the best deal. Looks like I will have to leave them. Can you or anyone recommend a good hosting solution for OSC2.2 in the UK that doesn?t charge a lot for using SSL certs? Thanks once again for your response. I will let you know when I eventually get my site up and running you will be able to get some great deals.
nowhereman Posted June 13, 2005 Posted June 13, 2005 I still have a few tweeks to do on my own site but I am using 1and1 for hosting on a linux box. It seems to support oscommerce.
♥Vger Posted June 13, 2005 Posted June 13, 2005 It seems to support oscommerce. 'Seems' is the important word here. Search this forum for posts on "1and1". Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.