Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help with images/links showing on SSL and non SSL pages Help with images/links showing on SSL and non SSL pages
Previous
 
Next
New Post
12/9/2008 4:54 PM
 

Hey,

I have a site were I am going to have 2 versions. One version the site will be secure, the other version the site will be unsecure. I can't change the code to direct to secure or unsecure as both versions are calling the same code. The problem is that my images and links that are inserted into the html/text module on the site are calling from the unsecure version. So if you are viewing the site in unsecure, then the images and links are all fine. As soon as I go into the site's secure address, the images are gone and links don't work. Is there a way to get the images to show and links to work in both versions?

I can get the images to show if I enter in the complete address path, but then I get a box pop up on IE saying that the page contains secure and non secure info. I am trying to get around having that box pop up while still getting everything to work. Any idea's on how to do this?

For the image I have to put the path as: http://mysite.com/portal/0/.........

Not sure how to get the links working as there are 2 addresses for the site.

Secure: https://www2.securewsi.com/mysite/

Non Secure: http://mysite.com/

Any idea's on how I can get this to work on the versions of the site?

Hopefully this makes sense.

Thanks.

 
New Post
12/10/2008 8:34 AM
 

Just thinking off the top of my head but could you use Javascript to determine if the site was secure or not and then display the proper link.

The other way would be to use a relative path to the image such as /images/whatever.jpg instead of an absolute path such as http://www.cnn.com/images/wathever.jpg

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
12/10/2008 4:38 PM
 

Currently it is set up as a relative path and that is when the images won't show up on the secure site. They show up fine when I am viewing the site as non secure. I was thinking of using the absolute path method, however, then I get the box popping up in ie that says the page has secure and non secure items on it.

I will try using javascript and see if that works, thanks for the suggestion!

Carmen

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help with images/links showing on SSL and non SSL pages Help with images/links showing on SSL and non SSL pages


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out