HighDots Forums  

HTTPS : Secured and non secured item with absolute path

Website Design comp.infosystems.www.authoring.site-design


Discuss HTTPS : Secured and non secured item with absolute path in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
trihanhcie@gmail.com
 
Posts: n/a

Default HTTPS : Secured and non secured item with absolute path - 05-15-2006 , 09:07 AM






Hi,

I have a <img src = "http:// ..."> which needs to be put in a secured
page. For example on amazon when the confirmation page is displayed...
The problem is that it's a secured page (https) and my tag is an
absolute path... It looks like it's the problem because the tag is not
secured. What are the possible solution to display the image without
the warning message?

Thanks


Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-15-2006 , 01:43 PM






trihanhcie (AT) gmail (DOT) com wrote:

Quote:
I have a <img src = "http:// ..."> which needs to be put in a secured
page. For example on amazon when the confirmation page is displayed...
The problem is that it's a secured page (https) and my tag is an
absolute path...
An absolute URL to an HTTP URL.

Quote:
It looks like it's the problem because the tag is not
secured.
The tag is irrelevant, it is the means used to access the image.

Quote:
What are the possible solution to display the image without
the warning message?
Copy the image so it is available under the HTTPS server, then access it
there.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #3  
Old   
Jim Moe
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-15-2006 , 04:54 PM



trihanhcie (AT) gmail (DOT) com wrote:
Quote:
I have a <img src = "http:// ..."> which needs to be put in a secured
page. For example on amazon when the confirmation page is displayed...
The problem is that it's a secured page (https) and my tag is an
absolute path... It looks like it's the problem because the tag is not
secured. What are the possible solution to display the image without
the warning message?

Presuming this is your own site and not Amazon's:
- Make the DocumentRoot for the secure and non-secure sites the same.
- Change <img src = "http:// ..."> to <img src = "https:// ...">.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #4  
Old   
trihanhcie@gmail.com
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-15-2006 , 05:32 PM



What do you mean by
- Make the DocumentRoot for the secure and non-secure sites the same. ?

Do I have to by a certificate on my site to change it to a secure site?


Thanks ^^


Reply With Quote
  #5  
Old   
Jim Moe
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-16-2006 , 12:32 AM



trihanhcie (AT) gmail (DOT) com wrote:
Quote:
What do you mean by
- Make the DocumentRoot for the secure and non-secure sites the same. ?

I am using terms for the Apache web server.
To support the HTTPS protocol your web server must have a (virtual) host
defined for it, just as you have for HTTP. HTTP, port 80, has a "home" or
"root" directory, the DocumentRoot. HTTPS, port 443, must also have a
"home" or "root" directory. Make those two the same.

Quote:
Do I have to by a certificate on my site to change it to a secure site?

Yes.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #6  
Old   
Leonard Blaisdell
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-16-2006 , 01:11 AM



In article <bLidnbbXia1NyPTZRVn-pA (AT) giganews (DOT) com>,
Jim Moe <jmm-list.AXSPAMGN (AT) sohnen-moe (DOT) com> wrote:

Quote:
trihanhcie (AT) gmail (DOT) com wrote:

Do I have to by a certificate on my site to change it to a secure site?

Yes.
I agree. But you can create your own certificate IIRC. I did it a few
years ago for testing purposes using SSL. Browsers will throw up a
warning indicating it is not a *certified* certificate. If you get one
of those warnings, pay attention ;-)

leo

--
<http://web0.greatbasin.net/~leo/>


Reply With Quote
  #7  
Old   
trihanhcie@gmail.com
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-16-2006 , 04:31 AM



Well the aim is in fact to avoid a warning ... What I mean is :
If Amazon put <img src = https://www.mysite.com?id=..> on his
confirmation page (https://www.amazon.com/...) and I have my own
certifate IIRC, will the user have the warning?


Reply With Quote
  #8  
Old   
trihanhcie@gmail.com
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-16-2006 , 04:33 AM



Oups sorry i thought it was the name of the certificate IIRC... How did
u create your own certificatE? :s


Reply With Quote
  #9  
Old   
Jim Moe
 
Posts: n/a

Default Re: HTTPS : Secured and non secured item with absolute path - 05-16-2006 , 05:13 PM



Leonard Blaisdell wrote:
Quote:
Do I have to by a certificate on my site to change it to a secure site?

Yes.

I agree. But you can create your own certificate IIRC. I did it a few
years ago for testing purposes using SSL. Browsers will throw up a
warning indicating it is not a *certified* certificate. If you get one
of those warnings, pay attention ;-)

Yes, it is easy enough to create your own. But, as you say, because
there is no chain of authority, browsers (are supposed to) warn the user
about the dodgy certificates ("Do you really really trust this site?").
Authoritative certificates are cheap enough, $50 - $300, depending on
the type and period of validity.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.