osCmax v2.5 User Manual
Results 1 to 3 of 3

Help in setup SSL

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. ...

      
  1. #1
    New Member
    Join Date
    Jan 2003
    Posts
    18
    Rep Power
    0


    Default Help in setup SSL

    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. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  3. #3
    New Member
    Join Date
    Jan 2003
    Posts
    18
    Rep Power
    0


    Default

    msasek,

    that does the job..thanks a million dude.


    laonux

Similar Threads

  1. Compatable with my setup?
    By blioux in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 06-24-2005, 10:14 AM
  2. Problem with the PWA Setup...
    By mxtc in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-09-2004, 09:57 AM
  3. How to setup SSL
    By navid in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 07-02-2004, 04:39 AM
  4. setup checkout_success
    By navid in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 06-30-2004, 02:33 PM
  5. SSL setup
    By AtroxAngel in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 02-04-2003, 05:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •