Re: Default image location

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Saya,
after creating a virtual directory which points to the image directory
your inetpub/wwwroot/images directory will still be available from the URL
i.e. http://ip/images

The virtual directory is just like a desktop shortcut for a file, it just
points to somewhere else like Ignacip said, so you could create a virtual
directory in IIS Admin called MyVirtualImageDirectory which was actually
pointing to somewhere like c:\myfiles\images

you will then access http://ip/MyVirtualImagesDirectory which will cause the
server to fetch items from the location on disk.

You can have as many virtual directories as you want at any level of the
naming tree, as well as leaving your old images directory in place if you
want.

Hope that helps.
Mark.

"Saya" wrote:

> Ignacio, thanks for the reply. I'll try it out.
>
> Got an additional question (haven't got the IIS manual at this
> moment): in doing so, does it mean that *all* image activities from
> this moment on (after making the IIS-admin move) are referred to this
> virtual dir, making the 'Inetpub/wwwroot/images' obsolete, or is it a
> parallel path? I can then choose in which location I can put the
> images?
> Hope you understand my question ...., 'found it diffficult to
> formulate ;-)
>
> Greetz, Saya
> ---------------------------------------------------------------------------------------
> On Tue, 19 Jul 2005 14:43:57 -0400, "Ignacio Machin \( .NET/ C# MVP
> \)" <ignacio.machin AT dot.state.fl.us> wrote:
>
> >Hi,
> >
> >You have to create a virtual directory, which is only a link to the real
> >folder. then you reference the image has http://ip/virtual_directory/
> >You do so frmo the IIS admin.
> >
> >Btw, there is no "default" place to put the images in.
> >
> >
> >cheers,
>
>
.



Relevant Pages

  • Re: Default image location
    ... THANKS Mark, for your elaborate answer. ... Regards, Saya ... > after creating a virtual directory which points to the image directory ... >The virtual directory is just like a desktop shortcut for a file, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Default image location
    ... Ignacio, thanks for the reply. ... Greetz, Saya ... >You have to create a virtual directory, which is only a link to the real ...
    (microsoft.public.dotnet.languages.csharp)