Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

    Default SSL Installed, Not Working from https

    Hello,

    I have followed the instructions on setting includes/configure.php and admin/includes/configure.php to define https as follows (in the order as above)

    Code:
      define('HTTP_SERVER', 'http://www.URL.co.za');
      define('HTTPS_SERVER', 'https://www.URL.co.za');
      define('ENABLE_SSL', 'true');// Use secure webserver for checkout procedure?
    and

    Code:
      define('HTTP_SERVER', 'http://www.URL.co.za');
      define('HTTPS_SERVER', 'https://www.URL.co.za');
      define('HTTP_CATALOG_SERVER', 'http://www.URL.co.za');
      define('HTTPS_CATALOG_SERVER', 'https://www.URL.co.za');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'true');
      define('ENABLE_SSL_ADMIN', 'true');
    The problem is that when visiting the site via https, none of the images/links within the site are performing as 'https' and all remain http.

    Perhaps because Zencart is running from a directory that this problem is occuring? e.g. http://www.URL.co.za/folder/

    Any assistance would be great.

    Thank you

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL Installed, Not Working from https

    Could be a problem with the way the server's SSL support is configured, or a problem with how the SSL certificate is configured, or could be bad paths in your configure.php files.
    Without a URL it's extremely hard to 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.

  3. #3
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: SSL Installed, Not Working from https

    http://www . plutoniccomputers . co . za / tetris /

    The SSL works perfect before it hits the folder as you can see when going to the main domain.
    Last edited by dddza; 9 Nov 2010 at 10:06 AM.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL Installed, Not Working from https

    Um, I get broken images for categories and banners even WITHOUT trying to go into SSL mode.
    Doesn't look like an SSL issue at all.

    Your /tetris/images folder evidently doesn't contain the images you think it does.

    examples:
    http://www. your_domain .co.za/tetris/images/banners/tall-book.gif (one of your banners)
    http://www. your_domain .co.za/tetris/images/pixel_trans.gif (on most of your categories)
    .

    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
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: SSL Installed, Not Working from https

    Does Zencart make use of the following .htaccess files within its folders?

    http://pastebin.com/FYAqYqs9

    It appears the client has inserted nonstandard .htaccess files into the folders preventing access which was breaking access to the images folder. I have removed it from the images and banner folder and now access is possible.

    If this is not standard please let me know so that I can check through the rest of the folders for other incorrect "security" messures performed.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL Installed, Not Working from https

    Yes.
    You can download the original Zen Cart files by going to the home page of www.zen-cart.com .
    In the zip file you'll see the .htaccess files that come with Zen Cart.

    You'll also note that inside those .htaccess files, including the one you quoted, are specific instructions on how to ensure your server can handle the standard .htaccess language that's included in the Zen Cart-supplied files.


    What you've done by deleting them has opened your site up to abuse by hackers.
    .

    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.

  7. #7
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: SSL Installed, Not Working from https

    Okay, I've replaced the htaccess files. I did not delete them I only renamed them for testing.

    I'm now not too sure what you were referring to in you previous posts as when going to the links I get a permission denied. How would this be effecting the SSL?

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

    Default Re: SSL Installed, Not Working from https

    Didn't you start this thread saying that SSL was a problem?
    I was saying that your problems don't seem to be SSL-specific.
    .

    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.

 

 

Similar Threads

  1. stylesheet not loading with https recently installed
    By roekoe in forum Basic Configuration
    Replies: 9
    Last Post: 3 May 2010, 02:20 PM
  2. Installed SSL, not working!!
    By andyguo in forum General Questions
    Replies: 7
    Last Post: 4 May 2009, 06:24 PM
  3. SSL installed but how to get https?
    By hara in forum Basic Configuration
    Replies: 4
    Last Post: 1 Feb 2009, 01:24 AM
  4. ssl not working after restore from back up
    By ellis200200 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 23 Nov 2007, 05:31 PM
  5. SSL/HTTPS installed but not working with zen
    By niteryder in forum General Questions
    Replies: 3
    Last Post: 8 May 2007, 09:48 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