Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Oct 2006
    Location
    Riverview QLD
    Posts
    10
    Plugin Contributions
    0

    Default Re: How do I get my SSL to work ? admin/includes/configure.php

    Hi Linda,

    Many thanks for your kind offer to look over my configure files!

    Here is my admin/includes/configure.php file - with database login details taken out:

    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // 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
    /*
    * URLs 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
    */
    define('HTTP_SERVER', 'http://allaboutwomen.com.au');
    define('HTTPS_SERVER', 'https://allaboutwomen.com.au');
    define('HTTP_CATALOG_SERVER', 'http://allaboutwomen.com.au');
    define('HTTPS_CATALOG_SERVER', 'https://allaboutwomen.com.au');

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

    // 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', '/store/admin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    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', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/allabout/public_html/store/admin/');
    define('DIR_FS_CATALOG', '/home/allabout/public_html/store/');

    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_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '*********');
    define('DB_SERVER_PASSWORD', '*********');
    define('DB_DATABASE', '*********');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/allabout/public_html/store/cache');

    ?>

  2. #12
    Join Date
    Oct 2006
    Location
    Riverview QLD
    Posts
    10
    Plugin Contributions
    0

    Default Re: How do I get my SSL to work ? includes/configure.php

    ...and here is the includes/configure.php file below.

    It would be very helpful if you can tell me whether what I want to achieve - secure pages for when customers are entering their personal details to create an account - is possible with Zen Cart.


    <?php
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // 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://allaboutwomen.com.au');
    define('HTTPS_SERVER', 'https://allaboutwomen.com.au');

    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    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', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/allabout/public_html/store/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '********');
    define('DB_SERVER_PASSWORD', '*******');
    define('DB_DATABASE', '***********');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/allabout/public_html/store/cache');

    ?>

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I get my SSL to work ?

    From what I can see ... you should be using the www in your URLs ... the certificate appears to be set to:
    www.allaboutwomen.com.au

    So all of your URLs in both configure.php files should read with the www included ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #14
    Join Date
    Oct 2006
    Location
    Riverview QLD
    Posts
    10
    Plugin Contributions
    0

    Default Re: How do I get my SSL to work ?

    Hi Linda,

    Thanks for much for your help with this - I donate to Zen Cart for every website that I develop using the software. This is only my second my there are more coming up soon :)
    **********************************************************
    QUESTION: So I should be able to get Zen Cart to use https:// for the catalogue pages and the create account form?

    Please just confirm whether this should be possible - I am assuming that it is - but would really appreciate you to confirm this. It is very important for me to know whether I can configure Zen Cart to stick with https:// so users know that their personal data is protected.

    ***********************************************************

    Also wanting confirmation because one user (Kim) told me that Zen Cart is smart and will automatically use https:// when it is required (but from my experience that didn't seem to include the account creation page)

    Actually there is a certifcate installed to work with https://allaboutwomen.com.au. You can test this out with the url:

    https://allaboutwomen.com.au/store/

    I have a certificate installed for both www and without.

    I chose to use the https://allaboutwomen.com.au - because I saw that by default Zen Cart is configured to link the catalogue pages without the www.

    THANK YOU!

  5. #15
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: How do I get my SSL to work ?

    I'm using a SSL cert now and it is new. I did not receive a seal but a link that checks is the site is valid and secure or not. I put that link in the footer...
    Now, i would like the seal ONLY to show up on secured pages... how do i do that? where can i get a list of pages that are affected by SSL (like the login)

  6. #16
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: How do I get my SSL to work ?

    Steve-

    As a customer, I would feel better seeing the seal all of the time.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #17
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: How do I get my SSL to work ?

    could you try my site with IE... IE basicly tells the customers that we are fraud... you have any clue what it may be???

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to get style*.css to work?
    By pianojoe in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Nov 2010, 10:56 AM
  2. How do I get my downloads to work?
    By Crimson_Wake in forum General Questions
    Replies: 1
    Last Post: 26 Nov 2008, 04:02 AM
  3. How do I get Page_3 to work?
    By Trailertirestore in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2008, 02:06 AM
  4. How do I get FCKeditor to work?
    By Cornishmaid in forum Basic Configuration
    Replies: 0
    Last Post: 18 Aug 2008, 11:07 PM

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