Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL and broken images


norrcom

Recommended Posts

Hi,

I have been having big time troublewith our site, in IE it randomly doesnt display ALL images. I have spoken to the people who look after our servers who seem to have diagnosed the issue and an extract of their issue is as follows....

.

I modified the index page to output: $request_type which is used when giving the base href value, and when the pages dont work this code

showed:

<!-- request_type: SSL -->

rather than:

<!-- request_type: NONSSL -->

when it does work

 

 

Investigating this further I found that the way teh developers have tested to see if this is an SSL transaction is by looking at the environment varible HTTPS (getenv('HTTPS')) rather than the protocol used, as this server is a shared hosting server and provides a shared SSL cert if a previous request that the specfific instance of the web server has just processed before yours was a secure request then this will be set, and will be why the server this this is going into secure mode.

 

 

Any help please

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...