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

    Idea or Suggestion SSL/HTTPS problem

    Hello,


    I am willing to pay for support on this

    the site I'm working on: https://www.sunjo.ca

    The links at the top and the links on the left, refer back to http://
    but the catalog seems to work fine referring links to https

    I have changed my configure.php file

    define('HTTPS_SERVER', 'https://www.sunjo.ca'); // eg, https://localhost
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    //I also tried plugging this in:
    define('ENABLE_SSL', 'true');



    I've been receiving this error in my ssl_error log

    [Thu Nov 16 11:48:18 2006] [error] [client 69.196.213.198] File does not exist: /home/sunjo/sunjo.ca/shop/ie_css_fix, referer: https://www.sunjo.ca/

    I get it with box IE and Firefox....

    I'm completely lost for some reason my links are getting written as http://

    Here is my Virtualhost directive in my httpd.conf in case this helps:

    <VirtualHost 64.37.124.150:443>
    DocumentRoot /home/sunjo/sunjo.ca/shop
    ServerName www.sunjo.ca
    ServerAdmin [email protected]
    ErrorLog /etc/httpd/logs/ssl_error_log
    TransferLog /etc/httpd/logs/ssl_access_log
    SSLEngine On
    SSLCertificateFile /home/sunjo/ssl/sunjo.crt
    SSLCertificateKeyFile /home/sunjo/ssl/sunjo.key
    SSLSessionCacheTimeout 300
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
    </VirtualHost>

    Here is my .htaccess:

    Options +FollowSymLinks
    RewriteEngine On


    # From Ultimate SEO URLs
    RewriteRule /shop/(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule /shop/(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
    RewriteRule /shop/(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
    RewriteRule /shop/(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
    RewriteRule /shop/(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule /shop/(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]

    # All other pages
    # Don't rewrite real files or directories
    RewriteCond %{REQUEST_FILENAME} !-f [NC]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule /shop/(.*).html$ /shop/index\.php?main_page=$1&%{QUERY_STRING} [L]

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: SSL/HTTPS problem

    Guess I don't understand the problem as things seem to be working as they should.

    Even though using 'https' within your config files, it does not mean every link will use an 'https' connection. It is only required on certain links; login, account, for example.

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

    Default Re: SSL/HTTPS problem

    IE tells me there are non-secure items on the page...

    This is main issue

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: SSL/HTTPS problem

    Are you using a Chained SSL? If yes you need to install the 'sf_cert' and add the path in your httpd.conf file.

    SSLCertificateFile /home/sunjo/ssl/sunjo.crt
    SSLCertificateKeyFile /home/sunjo/ssl/sunjo.key
    SSLCertificateChainFile /path to intermediate certificate/sf_issuing.crt

    Otherwise, it could have something to do with all those directives you have in your .htaccess file. Not sure why they are there but normally, switching from secure pages to non-secure should be no problem.

 

 

Similar Threads

  1. SSL HTTPS issues
    By jolla in forum Basic Configuration
    Replies: 5
    Last Post: 16 Apr 2010, 12:59 PM
  2. Positive SSL problem? Not switching to the HTTPS url during Checkout
    By whatisthat456 in forum General Questions
    Replies: 2
    Last Post: 13 Dec 2009, 09:45 AM
  3. SSL and https
    By Dianne in forum General Questions
    Replies: 2
    Last Post: 20 Apr 2009, 05:17 PM
  4. SSL Cert and https
    By smpeters in forum General Questions
    Replies: 1
    Last Post: 27 Sep 2008, 02:47 AM
  5. https/SSL
    By D@ Mick in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 29 May 2006, 08:39 PM

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