Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

w2ksp4.exe, WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF

Links

XODOX
Impressum

#1: Script to add VirtDir

Posted on 2008-04-16 13:53:41 by yogi

Hi,
as a first job in IIS area I'm looking for VB/VBS to do following:
addVD abcd www.kuku.org/Hi www.kuku.org/HelloWorld.html

www.kuku.org/Hi redirected to URL www.kuku.org/HelloWorld.html
add to website of abcd a Virtual directory that redirected to following URL.

Thanks
Yogev

Report this message

#2: Re: Script to add VirtDir

Posted on 2008-04-17 03:50:21 by David Wang

On Apr 16, 4:53=A0am, Yogi <yog...@elal.co.il> wrote:
> Hi,
> =A0 as a first job in IIS area I'm looking for VB/VBS to do following:
> =A0 =A0 =A0addVD abcdwww.kuku.org/Hiwww.kuku.org/HelloWorld.html
>
> www.kuku.org/Hi=A0redirected to URLwww.kuku.org/HelloWorld.html
> add to website of abcd a Virtual directory that redirected to following UR=
L.
>
> Thanks
> Yogev


General script code on how to write VBS to administer IIS:
http://www.microsoft.com/technet/scriptcenter/scripts/defaul t.mspx?mfr=3Dtru=
e

Read the IIS Metabase documentation to determine which property to
change:
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/c=
de669f1-5714-4159-af95-f334251c8cbd.mspx?mfr=3Dtrue

IIS Administration tools which can create a virtual directory (amongst
many other things):
http://msdn2.microsoft.com/en-us/library/ms525006(vs.85).asp x

It's about 5 lines of code to do what you want, and the knowledge is
sprinkled in the URLs I just mentioned.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Report this message