Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Apr 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: SSL access to /admin/

    dear all,

    DrByte advised an easy chage for this SSL admin. see below.

    If you want *all* your admin pages to be SSL, copy your setting for HTTPS_SERVER to HTTP_SERVER in your /admin/includes/configure.php file.

  2. #12
    Join Date
    Dec 2007
    Location
    I wish I was out west!
    Posts
    22
    Plugin Contributions
    0

    Default Re: SSL access to /admin/

    Back to the original post of the thread and the response that this DOES NOT work for urls missing the www.

    What is the proper solution and is www. designated anywhere else in the code and need to be taken out?



    I have a SSL certificate which is mapped to "hobbyhillfarm.com" NOT "www.hobbyhillfarm.com"
    I have since upgraded my zen-cart to v1.3.8

    the full url to store is:
    http://www.hobbyhillfarm.com/store/

    I am only getting https for login, not all /admin/ pages.
    What am I missing ??

    I read something on in this forum about a symlink to/from /ssl.
    Is this something I need to confirm ?? and how-to ??



    Quote:
    From: http://tutorials.zen-cart.com/index.php?article=14
    How do I enable SSL after I have installed Zen Cart?

    NOTE: As of v1.3.x, the Admin area can only secure the "login" page via SSL unless you set the HTTP_SERVER in your "admin/includes/configure.php" to an SSL URL, in which case the entire admin area will be treated as SSL rather than only selected relevant pages....

    includes/configure.php

    Code:
    define('HTTP_SERVER', 'http://www.hobbyhillfarm.com');
    define('HTTPS_SERVER', 'https://hobbyhillfarm.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');admin/includes/configure.php

    Code:
    define('HTTP_SERVER', 'http://www.hobbyhillfarm.com');
    define('HTTPS_SERVER', 'https://hobbyhillfarm.com');
    define('HTTP_CATALOG_SERVER', 'http://www.hobbyhillfarm.com');
    define('HTTPS_CATALOG_SERVER', 'https://hobbyhillfarm.com');

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

    define('DIR_WS_ADMIN', '/store/admin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    Blue Skies!
    Ben

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. unable to access admin login page (Critical)
    By heavenlynights in forum General Questions
    Replies: 7
    Last Post: 25 Jul 2007, 07:32 AM

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
  •