Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    2
    Plugin Contributions
    0

    Default admin section doesn't obey ssl setting

    Hi,

    Zencart version 1.3.6
    On my testing server, I am using a directory path to access my Zen Cart site.
    The url is http://www.myserver.com/zencart/.
    The (working) https url is https://www.myserver.com/mysite/zencart/.

    I have set my /admin/includes/configure.php to use ssl for access to the admin section.
    But after logging in, all links in the admin section keep pointing to the http:// address of the page.

    I also have required ssl access to the admin pages in my apache conf, so this is quite annoying. Every click in the admin panel gives me a 'forbidden' error.

    What is wrong in the setting below, that the https path is not obeyed?

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

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/zencart/admin/');
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_ADMIN', '/mysite/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/mysite/zencart/');

  2. #2
    Join Date
    Dec 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: admin section doesn't obey ssl setting

    Er, well, after posting my message some useful search results appeared. I have learned that the behaviour is 'as designed' from this thread: http://www.zen-cart.com/forum/showthread.php?t=47474

    Sorry for bothering you.

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

    Default Re: admin section doesn't obey ssl setting

    Not a problem ...

    Thanks for posting that update ... it always is a help to others ...

    In a future release we will be re-writting and re-designing the admin ...
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. v150 Admin SSL doesn't stay on
    By jcorbindesign in forum General Questions
    Replies: 7
    Last Post: 13 Mar 2012, 11:08 PM
  2. Admin section popping out of SSL
    By LRS in forum Basic Configuration
    Replies: 4
    Last Post: 21 Jul 2010, 06:26 PM
  3. SSL on entire admin section
    By canemasters in forum General Questions
    Replies: 1
    Last Post: 15 May 2007, 06:27 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR