Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Posts
    31
    Plugin Contributions
    0

    Default adding an ssl to admin

    My shop is setup but how do I enable the ssl on the admin area?

    define('ENABLE_SSL', 'true');

    ta,


    R.

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

    Default Re: adding an ssl to admin

    Only the login page is secure at the moment ...
    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!

  3. #3
    Join Date
    May 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: adding an ssl to admin

    I do not understand.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: adding an ssl to admin

    Currently, if you want your entire Admin to be SSL, just set the HTTP_SERVER to use an https address.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5

    Default Re: adding an ssl to admin

    Quote Originally Posted by DrByte View Post
    Currently, if you want your entire Admin to be SSL, just set the HTTP_SERVER to use an https address.
    Or, you could just add this to the ".htaccess" file in your admin directory:

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

  6. #6

    Default Re: adding an ssl to admin

    Quote Originally Posted by digus View Post
    Or, you could just add this to the ".htaccess" file in your admin directory:

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    OK - Never mind on that. It does work, but has some really strange effects on submitting certain forms when logged in as admin (e.g. SQL patches). Apparently, all of the URLs in the admin section are hard-coded to use http (except for login when set to https). I think DrByte's suggestion is probably the best option for now, though I'm not 100% sure if it will work either.

    If you're mainly concerned with a secure login to the admin area, see this post:

    http://www.zen-cart.com/forum/showpo...52&postcount=3

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: adding an ssl to admin

    Actually the EASIEST and correct way is to do as DrByte said and use the https url in ALL 4 defines,

    remember though that running the entire admin in ssl may cause speed and bottleneck issues
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Admin using non-SSL domain name to build admin URLs
    By omnicognate in forum Basic Configuration
    Replies: 13
    Last Post: 2 Apr 2013, 09:14 AM
  2. Replies: 4
    Last Post: 9 Apr 2011, 07:11 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