This is a discussion on Help in setup SSL within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi All, I was trying to setup SSL using forum commendations but seems there are several thing I missed here. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi All, I was trying to setup SSL using forum commendations but seems there are several thing I missed here. Here is what I have: 1) My shop is on subdomain as in http://shop.muanglao.com/default.php as you can see, it doesn't work properly. My configurations as follow: In the /shop/include/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.muanglao.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.muanglao.com'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/shop/'); // absolute path required I also made a change to /shop/admin/include/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.muanglao.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'https://www.muanglao.com'); define('HTTPS_CATALOG_SERVER', 'https://shop.muanglao.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/web/muanglao/public_html'); // where the What else do I have to make changes to? Thanks in advance Laonux |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| Delete the extra blank lines at the end of the configure.php and the error will go away. Next, your http server define is incorrect. Since your site is shop is http://shop.muanglao.com, your http server should also be http://shop.muanglao.com. If you have an SSL certificate installed on shop.muanglao.com, the https define should be https://shop.muanglao.com Try it out.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| msasek, that does the job..thanks a million dude. laonux |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compatable with my setup? | blioux | osCMax v2 Installation issues | 5 | 06-24-2005 10:14 AM |
| Problem with the PWA Setup... | mxtc | osCMax v1.7 Discussion | 0 | 11-09-2004 09:57 AM |
| How to setup SSL | navid | osCommerce 2.2 Installation Help | 4 | 07-02-2004 04:39 AM |
| setup checkout_success | navid | osCommerce 2.2 Installation Help | 0 | 06-30-2004 02:33 PM |
| SSL setup | AtroxAngel | osCommerce 2.2 Installation Help | 0 | 02-04-2003 05:48 PM |