Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: Virtual directory basic


Message #1 by "Bill MacPherson" <bluedog@h...> on Sun, 22 Dec 2002 05:25:03 -0600
I'm having trouble understanding the virtual directory concept.

Can someone please explain what a virtual directory is and why they are
necessary in asp? My upload component wants one.

Thanks



_________________________________________________________________
MSN 8 limited-time offer: Join now and get 3 months FREE*. 
http://join.msn.com/?page=dept/dialup&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_newmsn8ishere_3mf

Message #2 by "SEAK, Teng-Fong" <tfseak@f...> on Mon, 23 Dec 2002 14:39:12 +0100
	Virtual directories let you (actually, your users) to access
files/directory in other physical locations.

	Normally, without virtual directories, it's only possible to access
files/dirs within
c:\inetpub\wwwroot.  For example, c:\inetpub\wwwroot\site1 would map to
http://hostname/site1

	But with virtual directories, you could map whatever you want.  For
ex,
M:\Client DB\year 2000 maps to http://hostname/turnover/2000

	Can you see the advantages ?
1) You could change its name ("year 2000" to 2000)
2) as a consequence of 1), it's not necessary that the directory 
"turnover"
exists
3) it could avoid the problem of white spaces within names in URL
4) Can you see that the disk is M: but not just C: ?  That means it can 
be
any disks accessible in the host machine.  Yes, any disk, even if it's 
a
network disk.

	That's all I can remember.

	HTH

> -----Message d'origine-----
> De : Bill MacPherson [mailto:bluedog@h...]
> Envoy=C3=A9 : dimanche 22 d=C3=A9cembre 2002 12:25
> =C3=80 : asp_discuss
> Objet : [asp_discuss] Virtual directory basic
>
>
> I'm having trouble understanding the virtual directory concept.
>
> Can someone please explain what a virtual directory is and
> why they are
> necessary in asp? My upload component wants one.
>
> Thanks
>
Message #3 by "Bill Mac" <bluedog@h...> on Fri, 27 Dec 2002 14:51:59
Thanks Seak,

Your explaination cleared up a lot of the areas that were not clear.

Bill

> 	Virtual directories let you (actually, your users) to access
files/directory in other physical locations.

	Normally, without virtual directories, it's only possible to 
access
files/dirs within
c:\inetpub\wwwroot.  For example, c:\inetpub\wwwroot\site1 would map to
http://hostname/site1

	But with virtual directories, you could map whatever you want.  
For
ex,
M:\Client DB\year 2000 maps to http://hostname/turnover/2000

	Can you see the advantages ?
1) You could change its name ("year 2000" to 2000)
2) as a consequence of 1), it's not necessary that the directory 
"turnover"
exists
3) it could avoid the problem of white spaces within names in URL
4) Can you see that the disk is M: but not just C: ?  That means it can 
be
any disks accessible in the host machine.  Yes, any disk, even if it's 
a
network disk.

	That's all I can remember.

	HTH

> -----Message d'origine-----
> De : Bill MacPherson [mailto:bluedog@h...]
> Envoy=C3=A9 : dimanche 22 d=C3=A9cembre 2002 12:25
> =C3=80 : asp_discuss
> Objet : [asp_discuss] Virtual directory basic
>
>
> I'm having trouble understanding the virtual directory concept.
>
> Can someone please explain what a virtual directory is and
> why they are
> necessary in asp? My upload component wants one.
>
> Thanks
>

  Return to Index