Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Admin pages jumps from https to http

    That makes sense!

    I thought the edits were for the catalog configure.php file.

    Silly me! :)

  2. #2
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    179
    Plugin Contributions
    0

    Default Re: Admin pages jumps from https to http

    I had to impliment the above because when in Admin, it looked as though credit card payment account logon information (Authorize.Net) appears to be displayed on a non secure page.

    In any event, after enabling SSL for all of Admin, I found that any page with the language logo (the country flag) would generate an error in IE asking if I want to view the insecure information.

    It appears that the link for the flag is fully qualified and thus appears as http://www.storename.com/catalog/inc...glish/icon.gif instead of a relative directory location like /includes/languages/english/icon.gif.

    I know this language icon is displayed in a number of places. How best can I force the lookup to a relative address to eliminate the warning?
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

  3. #3
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    179
    Plugin Contributions
    0

    Default Re: Admin pages jumps from https to http

    Anyone?

    I have looked through many files, I believe the pages are using DIR_WS_CATALOG_IMAGES when they should be using /images/icon.gif or a combination of FS_CATALOG and FS_IMAGES

    BecauseI'm thinking the link should be relative rather than a non-ssl full URL.

    I've spent over 8 hours searhing and trying changes. I'm not sure where all the links are...
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Admin pages jumps from https to http

    ... and now you understand why the admin doesn't switch from HTTP to HTTPS automatically like the catalog.

    You can run the whole Admin as SSL by changing your configure files. Change the HTTP paths to the HTTPS address.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    179
    Plugin Contributions
    0

    Default Re: Admin pages jumps from https to http

    I had changed the 2 defines to both point to HTTPS:

    define('HTTP_SERVER', 'https://www.myserver.com');
    define('HTTPS_SERVER', 'https://www.myserver.com');

    Everything worked fine except for displaying the flag from the language directory. Every time I went to modify a catalog item, the dreaded "mixed secure and non-secure" message came up.

    I finally changed the following text from HTTP_CATALOG_SERVER to HTTPS_CATALOG_SERVER and it seems to be working now.

    define('DIR_WS_CATALOG_LANGUAGES', HTTPS_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    So if anyone needs to secure the Admin side of things (so USPS and Authorize.Net passwords are not sent in the clear when you modify their configs) just go to the Admin config file and change all 3 of the above defines to reflect HTTPS.
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

 

 

Similar Threads

  1. HTTP vs HTTPS pages - as designed?
    By Brian1234 in forum General Questions
    Replies: 3
    Last Post: 13 Jun 2011, 03:41 AM
  2. Replies: 15
    Last Post: 6 Jul 2010, 03:24 AM
  3. From http:// to https://
    By Phoebus in forum General Questions
    Replies: 2
    Last Post: 9 Jan 2010, 12:07 AM
  4. Many http links in https pages
    By Brian1234 in forum General Questions
    Replies: 4
    Last Post: 11 Mar 2008, 03:18 AM
  5. Admin jumps from https to http
    By sarahk in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 7 Jun 2007, 10:42 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