Results 1 to 3 of 3

Help, My SSL is not working anymore.

This is a discussion on Help, My SSL is not working anymore. within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi, I never had this problem during development of the website but when I put the server live, i cant ...

      
  1. #1
    New Member
    Join Date
    Mar 2005
    Posts
    19
    Rep Power
    0


    Default Help, My SSL is not working anymore.

    Hi,
    I never had this problem during development of the website but when I put the server live, i cant seem to login anymore. Even if i manage to log in. I cant buy as i will get redirected back to the login page whenever the address URL changes from https://etc to http://etc.

    The link to my site is http://www.yourgifts.com.sg/ygtest/

    My Config is as follows:

    main_page.tpl.php

    <base href="<?php echo (($request_type == 'HTTPS') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

    configure.php

    define('HTTP_SERVER', 'http://www.yourgifts.com.sg'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://www.yourgifts.com.sg'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'yourgifts.com.sg');
    define('HTTPS_COOKIE_DOMAIN', 'yourgifts.com.sg');
    define('HTTP_COOKIE_PATH', '/ygtest/');
    define('HTTPS_COOKIE_PATH', '/ygtest/');
    define('DIR_WS_HTTP_CATALOG', '/ygtest/');
    define('DIR_WS_HTTPS_CATALOG', '/ygtest/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_IMAGES_PRODUCTS', 'images/products/');
    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_IMAGES_OCCASIONS',DIR_WS_IMAGES . 'occasions/');
    define('DIR_WS_IMAGES_CATEGORIES',DIR_WS_IMAGES . 'categories/');
    define('DIR_WS_IMAGES_CARD_BACKGROUND',DIR_WS_IMAG ES . 'card_background/');

    Admin configuration
    Session Directory /tmp
    Force Cookie Use True
    Check SSL Session ID True
    Check User Agent True
    Check IP Address True
    Prevent Spider Sessions True
    Recreate Session False

    From what i know, I didnt do anything to the login page and when it was during development, everything was working fine.

    can someone help?

  2. #2
    New Member
    Join Date
    Mar 2005
    Posts
    19
    Rep Power
    0


    Default

    Also, as a note, my apache httpd.conf file doesn't seem to have anything to indicate which directory is ssl and which is not.

    If theres a need to do something to the apache, can someone tell me how?

    Thanks

  3. #3
    New Member
    Join Date
    Mar 2005
    Posts
    19
    Rep Power
    0


    Default

    hmm i reinstalled an original copy of oscmax and generated new keys and it worked!!

    changed the admin config to as follows -->

    Admin configuration
    Session Directory /tmp
    Force Cookie Use False
    Check SSL Session ID False
    Check User Agent False
    Check IP Address False
    Prevent Spider Sessions True
    Recreate Session False

    By the way,

    I noticed that my base href code is

    <base href="<?php echo (($request_type == 'HTTPS') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

    do i keep it as above or do i change it back to

    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

Similar Threads

  1. Working site is not working now!
    By swatkins in forum osCmax v2 Installation issues
    Replies: 20
    Last Post: 12-25-2006, 05:51 PM
  2. Email notifications not received anymore
    By ozstar in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-13-2006, 05:16 AM
  3. Cannot get TAX (VAT) working
    By Spike_UK in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-23-2003, 06:47 AM
  4. trying to get pwa working on 1.5 - its critical
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 09-30-2003, 07:23 PM
  5. tax not working
    By menakamk in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-01-2003, 12:59 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
  •