RE: Concerning SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make the src ABSOULUTE and it will work. When you are using relative links
as you are right now the web server will look in the
https://www.mywebsite.com/images....

Best regards,
Peter Lauri

www.dwsasia.com  - company web site
www.lauri.se  - personal web site
www.carbonfree.org.uk  - become Carbon Free


-----Original Message-----
From: R. Van Tassel [mailto:jazzsnob@xxxxxxxxxxxxx] 
Sent: Tuesday, January 02, 2007 6:33 PM
To: php-general@xxxxxxxxxxxxx
Subject: RE:  Concerning SSL

How do you correct the image URLs? That's what I'm asking.

I have a website that is secure. When you change the URL from
http://www.mywebsite.com
to
https://www.mywebsite.com

the images disappear.

The images are codes as relative links:

http://www.mywebsite.com/images/myimage.jpg

is coded as <img src="images/myimage.jpg" /> if a root file

is coded as <img src="../images/myimage.jpg" /> if in a directory



-----Original Message-----
From: Jochem Maas [mailto:jochem@xxxxxxxxxxxxx] 
Sent: Tuesday, January 02, 2007 11:27 AM
To: R. Van Tassel
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  Concerning SSL

R. Van Tassel wrote:
> Hello everyone, I hope you all had a great new year.
> 
> I'm having an issue with a website where changing the URL from http:// to
> https:// makes the images disappear. The images are all relative and not
> absolute.
> 
> How can I fix this?

correct the image URLs? clear your cache?

we gave up mind-reading on the list last year, please provide us with
some actual info otherwise we can't help you.

> 
> Thanks,
> -Roy
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux