Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default SSL Configuration Help

    I have just purchased SSL and my hosting company says that its been installed. What do I do next to eusure that the necessary pages use SSL? I'm entirely new to this topic, so any details would be appreciated. Thanks.

  2. #2
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: SSL Configuration Help

    You need to open your includes/configure.php AND your admin/includes/configure.php and make the following changes:

    define('ENABLE_SSL_CATALOG", "true');
    define('ENABLE_SSL_ADMIN", "true');

    In BOTH files. they are slightly different so dont copy one over the other edit and save them separately.

    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  3. #3
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    Only one of these lines of code existed in the includes/configure.php file. Both lines existed in admin/includes/configure.php. I made the changes in both files. Now the site is taking forever to load. In fact, its not loading. Even if I go to the site root, its not loading. My structure is:

    mysite.com
    mysite.com/store

  4. #4
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    Ok, the not-loading problem was a hosting company issue which has been sorted out. So I've changed the config file SSL settings.

    I can access my store through https://www.mysite.com/store.

    1)How can I force the store to use www in front of the store name for all pages.... https://www.mysite.com/store...... instead of https://mysite.com/store....

    2)How can I make sure that the pages that need to be https are not http?

    Again, I'm new to this ssl thing, so please explain clearly. Thanks.

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

    Default Re: SSL Configuration Help

    If you configure Zen Cart correctly in the two configure.php files:
    /includes/configure.php
    /admin/includes/configure.php

    and if your secure certificate is set for the www url then all should work happily and if you have enabled the secure in those files it will automatically do the right pages for you as secure or non-secure ...
    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!

  6. #6
    Join Date
    Oct 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    I also have been trying to configure ssl for my site for oh about 6 hours now. Every time I click to save changes I get an error.

    The code is reading:
    define('HTTP_SERVER', 'http://
    There is also:
    define('HTTPS_SERVER', 'https://

    My host (hostmonster) told me "in the HTTPS line of code I need to change it to:

    define ('HTTPS_SERVER', https://secure.hostmonster.com/~and my username, which I have done.
    My question is for the line of code that is HTTP that is right above HTTPS, do I need to change it to the http://secure etc... or what do I change that to???? I am going nuts. I have tried a few different things but I keep getting and error. Any help is really appreciated so I can move on.
    Sandy

  7. #7
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    Hi Sandy,

    In you admin/includes/configure.php you should have the following code:

    PHP Code:
    define('HTTP_SERVER''http://www.yourdomainname.co.uk');
      
    define('HTTPS_SERVER''https://www.yourdomainname.co.uk');
      
    define('HTTP_CATALOG_SERVER''http://www.yourdomainname.co.uk');
      
    define('HTTPS_CATALOG_SERVER''https://www.yourdomainname.co.uk');
      
    // Use secure webserver for catalog module and/or admin areas?
      
    define('ENABLE_SSL_CATALOG''true');
      
    define('ENABLE_SSL_ADMIN''true'); 
    and in your includes/configure.php the following:

    PHP Code:
    // 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://www.yourdomainname.co.uk');
      
    define('HTTPS_SERVER''https://www.yourdomainname.co.uk');
      
    // Use secure webserver for checkout procedure?
      
    define('ENABLE_SSL''true'); 
    Hope that helps,

    J
    Jamie @ Fuzion

    www.InkFuzion.co.uk
    www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)

  8. #8
    Join Date
    Oct 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    Jamie,
    Thank you so much for the reply. I am close to tears at this point. I actually decided to get my own license from the host company. I just ordered it and they said it will take up to 24 hours to put it on my site.
    One question Jamie.... co.uk?? I have the Zen Cart book and it says to use .com Maybe this is where the problem is happening that I cannot get it to work?

  9. #9
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    Hi Sandy,

    The .co.uk or .com depends on your own url & shared ssl cert url.

    I sent the example with .co.uk as my domain name is www.funfuzion.co.uk, so I would use https://www.funfuzion.co.uk etc.

    You say you have ordered your own certificate. I think this is the best idea as it looks more porfessional. I am not sure if it is too late, but did you order it for http://www.domainname. or http://domainname. ? I have found a few problems in Zen when I set up our certificate without the www. part. (We sell ssl certs, so was easier to generate a new one that osrt out the problems, so may be easy to sort out these problems in Zen)

    Good luck,

    J
    Jamie @ Fuzion

    www.InkFuzion.co.uk
    www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)

  10. #10
    Join Date
    Oct 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: SSL Configuration Help

    Thank you Jamie. I was not asked about the www when I ordered it just now. I am going to go to the live chat line and double check. Thank You Jamie, I really appreciate your help.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. SSL Configuration
    By undah in forum Basic Configuration
    Replies: 12
    Last Post: 27 Feb 2009, 10:58 AM
  2. SSL configuration help
    By dp7777 in forum Installing on a Windows Server
    Replies: 3
    Last Post: 7 Aug 2008, 11:48 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