cancel
Showing results for 
Search instead for 
Did you mean: 

Strange SSL Issue with gif & png

Strange SSL Issue with gif & png

Hi there

 

I have created the Fishpig secure cart module to force my /checkout/cart to use SSL. 

 

It works fine, I even get a green padlock. Except, certain gifs and my png logo files are missing from the page.

 

The URL's to the images are OK, when I look at them over http they show, when over https it returns 404.

 

I don't get it? Help, I'm pulling my hair out!!!

 

EDIT: Solved!!!

 

In case anyone ever gets this problem. I had this in my .htaccess:

RewriteCond %{HTTP_REFERER} !^http://(.+\.)?DOMAIN\.com/ [NC]

I added this line underneath it

RewriteCond %{HTTP_REFERER} !^https://(.+\.)?DOMAIN\.com/ [NC]

and this solved it