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

SSL Set Up

This is a discussion on SSL Set Up within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I built an oscommerce store before and I cant believe i dont remember how to do this anyway: regarding SSL, ...

      
  1. #1
    Lurker
    Join Date
    Jan 2005
    Posts
    3
    Rep Power
    0


    Default SSL Set Up

    I built an oscommerce store before and I cant believe i dont remember how to do this anyway: regarding SSL, when you click on create an account or log in, i get the not authorized to view page: do you alter configure or configuration and I believe you had to change two files and also maybe with a cookie path or domain

    Shared SSL address is https:\\spiffyshades.securewebserver.net (have to place this somewhere) If someone can just post how, where and an example I would ve very grateful....Thanks

  2. #2
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default RE: SSL Set Up

    There is a wiki documentation project going on here....

    Read this article
    http://oscdox.com/modules.php?op=mod...p;pagename=SSL

  3. #3
    Lurker
    Join Date
    Jan 2005
    Posts
    3
    Rep Power
    0


    Default SSL Set Up

    Ok sorry to have to do this but #1) I think something is missing for the actual php files;

    Please look at these for me (driving me crazy) & I do not know if I have this MAX?

    This is: /includes/configure.php <br><br>

    <?php
    /*
    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Copyright (c) 2003 osCommerce

    Released under the GNU General Public License
    */

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://spiffyshades.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://spiffyshades.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'https://spiffyshades.securewebserver.net');
    define('HTTPS_COOKIE_DOMAIN', 'https://spiffyshades.securewebserver.net');
    define('HTTP_COOKIE_PATH', '/tmp/');
    define('HTTPS_COOKIE_PATH', '/spiffyshades/catalog');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_WS_IMAGES', 'images/');
    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_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', 'D:/hshome/vinomiam/spiffyshades.com/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    // define our database connection
    define('DB_SERVER', 'hsuweb.nexx.com'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', 'Michael');
    define('DB_SERVER_PASSWORD', 'spiffy');
    define('DB_DATABASE', 'SpiffyShades');
    define('USE_PCONNECT', 'true'); // use persistent connections?
    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>

    This is /admin/includes/configure.php

    <?php
    /*
    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Copyright (c) 2003 osCommerce

    Released under the GNU General Public License
    */

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://spiffyshades.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', 'http://spiffyshades.com');
    define('HTTPS_CATALOG_SERVER', 'https://spiffyshades.com');
    define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', 'D:/hshome/vinomiam/spiffyshades.com/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', '/admin/'); // absolute path required
    define('DIR_FS_ADMIN', 'D:/hshome/vinomiam/spiffyshades.com/admin/'); // absolute pate required
    define('DIR_WS_CATALOG', '/'); // absolute path required
    define('DIR_FS_CATALOG', 'D:/hshome/vinomiam/spiffyshades.com/'); // absolute path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

    // define our database connection
    define('DB_SERVER', 'hsuweb.nexx.com'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', 'Michael');
    define('DB_SERVER_PASSWORD', 'spiffy');
    define('DB_DATABASE', 'SpiffyShades');
    define('USE_PCONNECT', 'true'); // use persisstent connections?
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
    ?>

  4. #4
    Lurker
    Join Date
    Jan 2005
    Posts
    3
    Rep Power
    0


    Default its working now thanks

    it works now

  5. #5
    Lurker
    Join Date
    Feb 2005
    Location
    Vancouver Island
    Posts
    3
    Rep Power
    0


    Default Secure Installation.

    I am having the same problem, so I am interested in how you solved it.
    My site www.floweraffairs.com works fine until I try to do a secure instalation. There whenever I try to access parts of the secure site (My account, checkout) I get the message - file not found. At the instruction of my service provider, I have copied my catalog file to their secure website, but I am not able to access the files.
    My config files are as follows:-
    Catalog/Admin/includes/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.floweraffairs.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', 'http://www.floweraffairs.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.floweraffairs.com');
    define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', '/services/webpages/f/l/floweraffairs.com/public/catalog/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
    define('DIR_FS_ADMIN', '/services/webpages/f/l/floweraffairs.com/public/catalog/admin/'); // absolute pate required
    define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
    define('DIR_FS_CATALOG', '/services/webpages/f/l/floweraffairs.com/public/catalog/'); // absolute path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');


    Catalog/Includes/config.php
    / Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.floweraffairs.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://secure1.securewebexchange.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'www.floweraffairs.com');
    define('HTTPS_COOKIE_DOMAIN', 'secure1.securewebexchange.com/www.floweraffairs.com');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '/catalog/');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/www.floweraffairs.com/catalog/');
    define('DIR_WS_IMAGES', 'images/');
    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_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', '/services/webpages/f/l/floweraffairs.com/public/catalog/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    The permissions for these files are set to 644.
    I am tearing my hair out, so any help would be appreciated.

  6. #6
    Lurker
    Join Date
    Feb 2005
    Location
    Vancouver Island
    Posts
    3
    Rep Power
    0


    Default Help! still having problems

    Can someone please help me!! My webprovider says there is something wrong with my configure files - but I cant see where. They do not support OSCommerce!
    Is it necessary to post a copy of the files to a secure directory?

  7. #7
    Lurker
    Join Date
    Feb 2005
    Posts
    2
    Rep Power
    0


    Default

    My includes/configure.php file looks somewhat different from yours, but shouldn't "https:\\spiffyshades.securewebserver.net" be in the define statement for HTTPS_CATALOG_SERVER?



    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://spiffyshades.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', 'http://spiffyshades.com');
    define('HTTPS_CATALOG_SERVER', 'https://spiffyshades.com');
    define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for

  8. #8
    Lurker
    Join Date
    Feb 2005
    Location
    Vancouver Island
    Posts
    3
    Rep Power
    0


    Default secure installation

    [quote="johara2030"]
    My includes/configure.php file looks somewhat different from yours, but shouldn

    Thank you for your suggestion-but it is still not working!!!
    Do you have any other suggestions?

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
  •