Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2009
    Posts
    26
    Plugin Contributions
    0

    Default SSL Configuration

    Hello,

    Im in the final stage off launching my shopping cart.

    Im using the latest version of the zencart


    I have made the necessary changes to the both config files to enable. The files had write permiss before I uploaded and then I changed them back to 444. I have uploaded them, but nothing seems to happened.

    1.Do I need to do anything else like linking the https: to the checkout, login, and admin area.

    Regards,

    Undah

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: SSL Configuration

    If SSL is set to 'true' in the configure files, your HTTPS_SERVER setting includes an "https" and you have a properly installed SSL certificate, that should be sufficient.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Then why isn't it working? Please visit my site www.mypokergirl.com/zencart

    the ssl only work when I type in https:, but when you login, it doesn't turn on.

    Thanks for the input,

    Undah

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SSL Configuration

    It's not switching into SSL mode because either you've not supplied an HTTPS address in your configure.php file, or haven't set ENABLE_SSL to 'true' (with quotes), or you didn't make the file writable before uploading changes to it.

    (Yes I know you said you thought you did ... but ... apparently one or more of those things didn't happen as you thought it did ... or it would be working.)

    I suspect the ENABLE_SSL setting isn't correct.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Dr.byte,

    can I upload my files for you to see?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SSL Configuration

    You can paste the contents here, without the password. Best to wrap it in [ code ] and [ /code ] tags
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SSL Configuration

    include/config page

    <?php
    /**
    * dist-configure.php
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
    * @private
    */
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    define('HTTP_SERVER', 'http://mypokergirl.com');
    define('HTTPS_SERVER', 'https://mypokergirl.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    admin/includes config page.

    <?php
    /**
    * dist-configure.php
    *
    * @package Configuration Settings
    * @package Admin
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
    * @private
    */

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    /*
    * URL's for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://mypokergirl.com');
    define('HTTPS_SERVER', 'https://mypokergirl.com');
    define('HTTP_CATALOG_SERVER', 'http://mypokergirl.com');
    define('HTTPS_CATALOG_SERVER', 'https://mypokergirl.com');

    // secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', 'https://mypokergirl.com/zencart/admin/');
    define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/');
    define('DIR_WS_HTTPS_ADMIN', 'https://mypokergirl.com/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');


    am I missing something?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SSL Configuration

    Only the HTTPx_XXXXXXX settings should contain any URLs.

    These DIR_WS_xxxxx defines should not contain a URL:
    Code:
    define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');
    they should be this:
    Code:
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');
    Do similarly with the DIR_WS_xxxxxx defines in your admin file.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Feb 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Dr. Byte,

    are you familiar with the cross selling module?

  10. #10
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Quote Originally Posted by undah View Post
    Dr. Byte,

    are you familiar with the cross selling module?
    Its better not to get cross when you're selling. It can chase customers away.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. SSL Configuration
    By baddco in forum Installing on a Windows Server
    Replies: 32
    Last Post: 19 Aug 2008, 04:56 PM
  2. SSL Configuration
    By crazycucumber in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 27 Sep 2006, 01:32 AM
  3. SSL Configuration
    By storiale in forum Basic Configuration
    Replies: 16
    Last Post: 19 Jul 2006, 06:36 AM

Posting Permissions

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