Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

base URL incorrect on https pages


Recommended Posts

I have a shared SSL setup, and kept getting a "page contains some unecrypted information" message in Netscape, I checked the HTML output on the https page, and found that the base URL was incorrect, it was using the http URL (http://mystore.com/store/" instead of "https://hostname/~username/") which caused the the images to load from the http server.


I commented out the following from the sts_display_output.php file. (The SSL pages seem to work fine now.)


 $template['headcontent'] .= '<base href="' . (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG . '">' . "\n";



Will commenting out the above code affect any functionality of the STS system? If so, any ideas on how to correct this issue?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...