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 | Donate | 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 |
|
#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 *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#3
| |||
| |||
| msasek, that does the job..thanks a million dude. laonux |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compatable with my setup? | blioux | osCMax v2 Installation issues | 5 | 06-24-2005 11:14 AM |
| Problem with the PWA Setup... | mxtc | osCMax v1.7 Discussion | 0 | 11-09-2004 10:57 AM |
| How to setup SSL | navid | osCommerce 2.2 Installation Help | 4 | 07-02-2004 05:39 AM |
| setup checkout_success | navid | osCommerce 2.2 Installation Help | 0 | 06-30-2004 03:33 PM |
| SSL setup | AtroxAngel | osCommerce 2.2 Installation Help | 0 | 02-04-2003 06:48 PM |