Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    SSL Configuration

    Hi can someone help me or point me to a thread that answes this:

    I have just moved my test site onto a live server ( but still in a sub directory as not fully live till friday ) and cant get the SSL bit to work :-

    I have put the whole site in HTTP://www.mydomain.com/NEWSHOP

    and in HTTPS://mydomain.com/ (The client was not using his HTTPS area so I could use the root of it. )

    My Configure.php files look like this :-

    Code:
     
     define('HTTP_SERVER', 'http://www.mydomain.com/newshop');
      define('HTTPS_SERVER', 'https://www.mydomain.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true);
    ..........................
    define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
    
    // * 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/httpd/vhosts/mydomain.com/httpdocs/newshop/');

    and the admin one is a bit like :

    Code:
      */
      define('HTTP_SERVER', 'http://www.mydomain.com/newshop');
      define('HTTPS_SERVER', 'https://www.mydomain.com');
      define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com/newshop');
      define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      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', '/admin/');
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_ADMIN', '/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
      define('DIR_WS_IMAGES', 'images/');
    
    
    // * 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/httpd/vhosts/www.mydomain.com/httpdocs/newshop/admin/');
      define('DIR_FS_CATALOG', '/home/httpd/vhosts/www.mydomain.com/httpdocs/newshop/');


    The shop bit works ok , but soon as you go to sign in , it usses the SSL area or HTTPS :// and goes back to start trying to install zencart again ( accept ive renamed zc_install )

    Probably really obvious , but im a bit new to SSL setups , should I have a complete mirror of zen in my https folder ? I have at the moment with all configure.php files the same too.


    Sorry for the length of this one !

    Cheers

    Crazy......
    Various Zen cart sites !

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: SSL Configuration

    You should just point your https:// to the same directory. No need for two installs.

    if your URL is http://domain.com/newshop then your secure URL is https://domain.com/newshop

    Make sure that you enter it matching your certificate (if the certificate is for www. then use that - if it isn't then don't) otherwise people will get a popup similar to an error when they attempt to access the secure portions of the site.

    Hope that helps.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: SSL Configuration

    I have asked the host if they can do this , in the mean time , you should be able to have the secure in a differnet place shouldn't you ? Why does zen redirect to the install when i go to SSL HTTPS ?

    Thanks for help
    Various Zen cart sites !

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Because Zen isn't installed where you are pointing it to. That's why it's looking for the installer.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: SSL Configuration

    Yes, you can have a copy of zen cart in a separate 'secure' folder if you like, provided that the configure.php files are set up correctly and all necessary files and folders are copied over (including the configure.php files).

    However, as pointed out, it should not be necessary, and just makes life a little more difficult.

    Vger

 

 

Similar Threads

  1. v139h SSL configuration
    By keneso in forum General Questions
    Replies: 2
    Last Post: 21 Oct 2012, 01:05 PM
  2. SSL Configuration
    By baddco in forum Installing on a Windows Server
    Replies: 32
    Last Post: 19 Aug 2008, 04:56 PM
  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