473,729 Members | 2,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<link> - "rel='short cut icon'" Not Working with HTTPS???

I'm encountering some wierd behavior with a <link> tag over an HTTPS
connection, vs. an HTTP connection...

In an ASP/HTML page on my website, I've add a <link rel="shortcut
icon"...> in order to allow the users to add a shortcut (with icon) on
their desktop, as well as seeing the icon in the URL. Our development
server allows both HTTP and HTTPS connections, but the icon only
appears to be available when requesting the page via HTTP???

When I hit the page from a browser as http://myweb/mypage.asp, I can
send a shortcut to my desktop and the Icon is associated with that
shortcut as well as the URL in the address bar showing the Icon, much
like a yahoo icon in the URL.

When I hit the page from a browser as https://myweb/mypage.asp, and
send the shortcut to the desktop, I get a default IE Icon and same
goes for the URL... When I do a "view source", the <link> line is
present, so I'm at a loss as to why it is not working

Any help would be greatly appreciated! Below is an example of the
code in the page:

<HTML>
<HEAD>
<META NAME="GENERATOR " Content="Micros oft Visual Studio 6.0">
<link rel="shortcut icon" href="myLogo.ic o" type="image/x-icon">
</HEAD>
<BODY>

<P>&nbsp;</P>

</BODY>
</HTML>
Jul 20 '05 #1
6 17163
Todd Peterson wrote:
I'm encountering some wierd behavior with a <link> tag over an HTTPS
connection, vs. an HTTP connection...

<link rel="shortcut icon" href="myLogo.ic o" type="image/x-icon">


<link rel="shortcut icon" href="http://www.example.com/myLogo.ico"
type="image/x-icon"> should work

--
Klaus Johannes Rusch
Kl********@atme dia.net
http://www.atmedia.net/KlausRusch/
Jul 20 '05 #2
Thanks guys! I appreciate the responses!

Best Regards,
Todd
"D. Stussy" <kd****@bde-arc.ampr.org> wrote in message news:<Pi******* *************** *******@kd6lvw. ampr.org>...
On Thu, 14 Aug 2003, Klaus Johannes Rusch wrote:
Todd Peterson wrote:
I'm encountering some wierd behavior with a <link> tag over an HTTPS
connection, vs. an HTTP connection...

<link rel="shortcut icon" href="myLogo.ic o" type="image/x-icon">


<link rel="shortcut icon" href="http://www.example.com/myLogo.ico"
type="image/x-icon"> should work


Also note that for some web servers, HTTP and HTTPS protocols for fetching
things have different document roots. You may have to duplicate your icons
into the HTTPS document root (if you don't want to do the above).

Jul 20 '05 #3
Ok... so I was able to give the recommendation a shot and for some
reason, it still isn't working???

We are running IIS and as far as I know, there is only one document
root "inetpub\wwwroo t\myapp". I was preferring not to use the
absolute path, "http://myserver...", in the link reference as the URL
is different for our development, test and production environments.
In the interest of just getting it to work, I coded in the absolute
path to my production server and made sure to put the .ico file in an
"images" directory so that it would work for dev, test and prod, only
pointing to the production file for each instance. i.e.
"http://ProductionServe r/MyApp/images/myIcon.ico"

<I hope I haven't completely caused eyes to glaze over> ;-)

Again, to my dismay... the icon was picked up when accessing the page
via HTTP and missing when accessing via HTTPS?

Is there something else I'm missing? I'm truly perplexed that upon
doing a "view source" of the HTTPS page, I see the <link> with the
appropriate location yet it doesn't seem to get delivered to the
browser

Thanks again for any suggestions!

Best Regards,
Todd

"D. Stussy" <kd****@bde-arc.ampr.org> wrote in message news:<Pi******* *************** *******@kd6lvw. ampr.org>...
On Thu, 14 Aug 2003, Klaus Johannes Rusch wrote:
Todd Peterson wrote:
I'm encountering some wierd behavior with a <link> tag over an HTTPS
connection, vs. an HTTP connection...

<link rel="shortcut icon" href="myLogo.ic o" type="image/x-icon">


<link rel="shortcut icon" href="http://www.example.com/myLogo.ico"
type="image/x-icon"> should work


Also note that for some web servers, HTTP and HTTPS protocols for fetching
things have different document roots. You may have to duplicate your icons
into the HTTPS document root (if you don't want to do the above).

Jul 20 '05 #4
Todd Peterson wrote:
Is there something else I'm missing? I'm truly perplexed that upon
doing a "view source" of the HTTPS page, I see the <link> with the
appropriate location yet it doesn't seem to get delivered to the
browser


It might be helpful to supply an actual URL so people can try to debug it.

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Jul 20 '05 #5
Tim
On 15 Aug 2003 15:49:31 -0700,
to***********@b illing.com (Todd Peterson) wrote:
We are running IIS and as far as I know, there is only one document
root "inetpub\wwwroo t\myapp". I was preferring not to use the
absolute path, "http://myserver...", in the link reference as the URL
is different for our development, test and production environments.
In the interest of just getting it to work, I coded in the absolute
path to my production server and made sure to put the .ico file in an
"images" directory so that it would work for dev, test and prod, only
pointing to the production file for each instance. i.e.
"http://ProductionServe r/MyApp/images/myIcon.ico"

<I hope I haven't completely caused eyes to glaze over> ;-)

Again, to my dismay... the icon was picked up when accessing the page
via HTTP and missing when accessing via HTTPS?


On different browsers? It couldn't just be a case of browser
configuration to ignore mixed content (secure/non-secure) on a page?

Note that what you're doing is bad news, for that reason. It'll throw
up security warnings at people.

--
My "from" address is totally fake. (Hint: If I wanted e-mails from
complete strangers, I'd have put a real one, there.) Reply to usenet
postings in the same place as you read the message you're replying to.
Jul 20 '05 #6
Thanks again to all for the responses! I had a co-worker access the
page from his browser and voila... Apparently, it is a browser
security setting! Now... to find out which one... ;-)

I sincerely appreciate everyone taking the time to respond, ultimately
leading me to identification of the problem!!!

Best Regards,
Todd

Tim <ad***@sheerhel l.lan> wrote in message news:<62******* *************** **********@4ax. com>...
On 15 Aug 2003 15:49:31 -0700,
to***********@b illing.com (Todd Peterson) wrote:
We are running IIS and as far as I know, there is only one document
root "inetpub\wwwroo t\myapp". I was preferring not to use the
absolute path, "http://myserver...", in the link reference as the URL
is different for our development, test and production environments.
In the interest of just getting it to work, I coded in the absolute
path to my production server and made sure to put the .ico file in an
"images" directory so that it would work for dev, test and prod, only
pointing to the production file for each instance. i.e.
"http://ProductionServe r/MyApp/images/myIcon.ico"

<I hope I haven't completely caused eyes to glaze over> ;-)

Again, to my dismay... the icon was picked up when accessing the page
via HTTP and missing when accessing via HTTPS?


On different browsers? It couldn't just be a case of browser
configuration to ignore mixed content (secure/non-secure) on a page?

Note that what you're doing is bad news, for that reason. It'll throw
up security warnings at people.

Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3684
by: windandwaves | last post by:
Hi Folk Some of my clients asked me to create "fancy emails" for them (aka html formatted emails). I know how to make a nice html document, but I had trouble creating a simple way to provide the document to my clients so that they could use it to. I know most of them use Outlook XP or Outlook 2003, so what I created was a page that creates a Visual Basic script that, when saved to the desktop and
5
13376
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.