Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    15
    Plugin Contributions
    0

    Default ssl to make active only for one page...please help

    Hi all,

    I want to make the login page of my site secured with ssl..

    So I entered the code

    RewriteCond %{SERVER_PORT} !443
    RewriteRule ^login(.*)$ https://no_name/login.html [L]

    when I click the login it works finely..But my problem is that after login its success is also displaying with https. But I need it to be http.

    More over to work ssl I made the following change in configure.php

    define('ENABLE_SSL', 'false'); to define('ENABLE_SSL', 'true');

    Can any one please help.

    Thanks
    Rakhi..

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

    Default Re: ssl to make active only for one page...please help

    zen cart is a smart cart,
    it will automatically flip to ssl for ANY page that needs to be secure
    login, create account, account history and any order page.

    and will switch back to non ssl when in any other page,

    you do not need that url re-write
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Feb 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: ssl to make active only for one page...please help

    Hi Merlinpa

    First of all thanks to Merlinpa....

    I have removed the rewrite rule and secured login page worked for me.
    But I need one more thing..ie when user completes the login he is redirected to https://www.my_site_name.com but I need it to be redirect to non secure http://www.my_site_name.com Is any thing to be changed in zencart for this?

    thanks
    Rakhi.

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

    Default Re: ssl to make active only for one page...please help

    this is normal, as soon as they click on anything else it will return to non ssl
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Idea or Suggestion Re: ssl to make active only for one page...please help

    Hi Rakhi

    Please take some changes with both configuration files which are available into admin/includes and includes folders.

    For Admin configuration file

    define('HTTP_SERVER', 'http://www.your domain name');
    define('HTTPS_SERVER', 'https://www.your domain name');

    define('HTTP_CATALOG_SERVER', 'http://www.your domain name');
    define('HTTPS_CATALOG_SERVER', 'https://www.your domain name');

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

    For Catalog/includes configuration file add

    define('HTTP_SERVER', 'http://www.your domain name');
    define('HTTPS_SERVER', 'https://www.your domain name');

    define('ENABLE_SSL', 'true');


    I think your problem will be remove after these changes

    Dinesh R Vyas
    Software Engineer, India
    Last edited by itpro2oo7; 6 Jul 2007 at 05:27 PM. Reason: Only edit same lines

 

 

Similar Threads

  1. Replies: 3
    Last Post: 8 Oct 2015, 03:34 PM
  2. EZ-Page problem Can only make one???
    By poorboy in forum Customization from the Admin
    Replies: 0
    Last Post: 3 May 2010, 05:30 AM
  3. SSL on one page only
    By SouljaGoD in forum General Questions
    Replies: 2
    Last Post: 1 May 2010, 10:35 AM
  4. Help please. One admin page for dozens of shops?
    By homesCollection in forum General Questions
    Replies: 5
    Last Post: 1 Mar 2010, 05:28 PM
  5. can I make a user that can only edit one EZ page?
    By optimalwebsite in forum Basic Configuration
    Replies: 1
    Last Post: 19 Dec 2008, 05:23 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