IIS Server - Hot Linking

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > February 2004 > Hot Linking





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Hot Linking
sysgln

2004-02-17, 8:34 am

I am creating a simple HTML page in FrontPage that needs
to access images on my company website's image directory.
However, when I view that HTML document on another PC out
of my network, it can't get to the images. How do I
configure IIS 5.0 to allow an external website or page to
hot link pictures out of our image folder?

Oh, if I manually type the address of the image from the
folder into IE it shows with no problem.
Jonathan Maltz [MS-MVP]

2004-02-17, 11:34 am

Hi,

You can't make IIS a proxy, it can not get the images from an internal
server and pass them along.

However, you can create a virtual directory on the public IIS server and
point it to the UNC share (\\computer\share) where the images reside, and
call them from that

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
tutorial site :-)
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find out
here
Only reply by newsgroup. I do not do technical support via email. Any
emails I have not authorized are deleted before I see them.


"sysgln" <anonymous@discussions.microsoft.com> wrote in message
news:1156b01c3f5a1$892af720$a101280a@phx
.gbl...
> I am creating a simple HTML page in FrontPage that needs
> to access images on my company website's image directory.
> However, when I view that HTML document on another PC out
> of my network, it can't get to the images. How do I
> configure IIS 5.0 to allow an external website or page to
> hot link pictures out of our image folder?
>
> Oh, if I manually type the address of the image from the
> folder into IE it shows with no problem.



2004-02-26, 12:34 pm

Thanks for the reply, but I think you have misunderstood
me. The images I am trying to link are on our corporate
public website (in the image directory). So if I type,
www.website.com/images/1.jpg, I can see the image (from my
home computer) however if I add that link as the src for
the image in HTML it says it can't view the image. Any
clues?



>-----Original Message-----
>Hi,
>
>You can't make IIS a proxy, it can not get the images

from an internal
>server and pass them along.
>
>However, you can create a virtual directory on the public

IIS server and
>point it to the UNC share (\\computer\share) where the

images reside, and
>call them from that
>
>--
>--Jonathan Maltz [Microsoft MVP - Windows Server]
>http://www.visualwin.com - A Windows Server 2003 visual,

step-by-step
>tutorial site :-)
>http://vpc.visualwin.com - Does <insert OS name> work on

VPC 2004? Find out
>here
>Only reply by newsgroup. I do not do technical support

via email. Any
>emails I have not authorized are deleted before I see

them.
>
>
>"sysgln" <anonymous@discussions.microsoft.com> wrote in

message
> news:1156b01c3f5a1$892af720$a101280a@phx
.gbl...
directory.[color=darkred]
out[color=darkred]
to[color=darkred]
>
>
>.
>

Jonathan Maltz [MS-MVP]

2004-02-26, 7:34 pm

Hi,

Sorry - you're correct, I misunderstood your post. You may want to make
sure that the code:
1) Works on at least one computer outside of the network
2) Is like <img src="/images/1.jpg"> and not just "1.jpg" or "images/1.jpg"
3) Doesn't point to an internal DNS entry (http://company/images/1.jpg)

--
--Jonathan Maltz [Microsoft MVP - Windows Server, Virtual PC]
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
tutorial site :-)
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find out
here
Only reply by newsgroup. I do not do technical support via email. Any
emails I have not authorized are deleted before I see them.


<anonymous@discussions.microsoft.com> wrote in message
news:038b01c3fc8e$68da2bf0$3501280a@phx.gbl...[color=darkred]
> Thanks for the reply, but I think you have misunderstood
> me. The images I am trying to link are on our corporate
> public website (in the image directory). So if I type,
> www.website.com/images/1.jpg, I can see the image (from my
> home computer) however if I add that link as the src for
> the image in HTML it says it can't view the image. Any
> clues?
>
>
>
> from an internal
> IIS server and
> images reside, and
> step-by-step
> VPC 2004? Find out
> via email. Any
> them.
> message
> directory.
> out
> to


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com