Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2012
    Location
    Houston, TX
    Posts
    21
    Plugin Contributions
    0

    Default Setting a particular page to use HTTP instead of HTTPS????

    Some of the elements do not show on the index.html page in the HTTPS side of my site. I contacted godaddy who my hosting and SSL is thru to see if they can install the SSL on my shopping cart only, and they have told me that they can not install SSL on just a portion of my site. They suggested that I use the scripting and the design of my website to stop using HTTPS on that particular page but they can not help me with coding.

    Does anyone know how i can keep visitors from visiting my index.html page in HTTPS so that they may visit it in HTTP instead?

    I have tried a couple of 301 redirects for that specific page. When you visit the site at www.Sarai-Sarai.com, it will take you to the HTTP site...but once i go to another page and go back to the home page, its back to HTTPS.

    Any help would be appreciated

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    If properly configured, Zencart decides what pages need to be secured. Make sure you've followed these instructions, especially #3:

    http://www.zen-cart.com/content.php?...alled-zen-cart

  3. #3
    Join Date
    Apr 2012
    Location
    Houston, TX
    Posts
    21
    Plugin Contributions
    0

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    Quote Originally Posted by stevesh View Post
    If properly configured, Zencart decides what pages need to be secured. Make sure you've followed these instructions, especially #3:

    http://www.zen-cart.com/content.php?...alled-zen-cart

    Thanks. Ive followed the instructions for enabling SSL in my zencart and SSL is functioning properly. My entire site is secure, however, i need the index.php page to display in HTTP...not HTTPS. ZenCart automatically displays this page in HTTPS. GoDaddy has told me that there is coding that will block HTTPS from a particular page.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    I'll suggest again that you check the settings in your configure.php file against the instructions I referenced. It appears that you have the whole site set to https, which you don't want.

  5. #5
    Join Date
    Apr 2012
    Location
    Houston, TX
    Posts
    21
    Plugin Contributions
    0

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    Quote Originally Posted by stevesh View Post
    I'll suggest again that you check the settings in your configure.php file against the instructions I referenced. It appears that you have the whole site set to https, which you don't want.
    This is what i have set up in my zencart/includes/configure.php file?

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://sarai-sarai.com');
    define('HTTPS_SERVER', 'https://sarai-sarai.com');

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

    and my admin/includes/configure.php file:

    */
    define('HTTP_SERVER', 'https://sarai-sarai.com');
    define('HTTPS_SERVER', 'https://sarai-sarai.com');
    define('HTTP_CATALOG_SERVER', 'https://sarai-sarai.com');
    define('HTTPS_CATALOG_SERVER', 'https://sarai-sarai.com');

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'true');

    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', 'true');


    Is it possible that things aren't set up correctly on the SSL so that Zen Cart can automatically decide what pages should be secured?

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    You say the issue lies with a page called index.html .

    Zencart will refer to index.php

    What is generating that HTML page ?

  7. #7
    Join Date
    Apr 2012
    Location
    Houston, TX
    Posts
    21
    Plugin Contributions
    0

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    Quote Originally Posted by fairestcape View Post
    You say the issue lies with a page called index.html .

    Zencart will refer to index.php

    What is generating that HTML page ?
    i'm sorry...i meant index.php

    I set up a 301 redirect for the index.php page...and that seems to work, but this URL: https://sarai-sarai.com/boutique/ind...ain_page=index is the link that I am having trouble with. I need it to direct to HTTP...not HTTPS

    I thought maybe i could setup a 301 redirect for the tpl_main_page.php file...but that doesn't work. I dont know if i can do this using an htaccess file?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    In your template you have hard-coded all your top-navigation-menu links to use https. Change that and your "home link" problem will go away.
    .

    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.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    Correction to my above statement. It appears your navigation menu is based on EZ-Pages links, which is fine, but you've configured them all to use SSL, which is contrary to what your posts say you want. Switching off the SSL setting on each of those specific EZ-Pages entries should help.
    .

    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.

  10. #10
    Join Date
    Apr 2012
    Location
    Houston, TX
    Posts
    21
    Plugin Contributions
    0

    Default Re: Setting a particular page to use HTTP instead of HTTPS????

    Quote Originally Posted by DrByte View Post
    Correction to my above statement. It appears your navigation menu is based on EZ-Pages links, which is fine, but you've configured them all to use SSL, which is contrary to what your posts say you want. Switching off the SSL setting on each of those specific EZ-Pages entries should help.
    Oh my gosh thank you so much!!! This is my first time using Zen Cart...if i only knew it was that simple, i wouldn't have been up at 4am! :-)

    Thanks again for your help!

 

 

Similar Threads

  1. Catalog goes HTTPS despite explicit HTTP setting
    By dreamdaily in forum General Questions
    Replies: 5
    Last Post: 9 Feb 2010, 05:30 AM
  2. Replies: 3
    Last Post: 12 Nov 2008, 04:07 PM
  3. links go to http instead of https (page not found)
    By maclean in forum Installing on a Linux/Unix Server
    Replies: 14
    Last Post: 23 Oct 2006, 03:55 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