This might be of use to you.


REM cscript adsutil.vbs delete w3svc/1/root/%1
cscript adsutil.vbs create_vdir w3svc/1/root/%1
cscript adsutil.vbs set w3svc/1/root/%1/path C:\inetpub\wwwroot\test
cscript adsutil.vbs set w3svc/1/root/%1/DefaultDoc "hikeoverview.cfm"


Creates vdir, sets path, sets document.  This should be in the iisadmin
script folder.  You would still need to use cfexecute though.


John


Want information on Hikes in Western Washington?
http://www.attrition.ws <http://www.attrition.ws/>   Check it out!

________________________________

From: Vitaly Mankevich [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 6:21 PM
To: CF-Talk
Subject: Re:Access to IIS objects from CFML?

Hi Dave,

Thank you for comments...no, all I'm trying to achieve is the "/joe" in
the URL that maps to the same site. It's something that client wants.
Moreover, visitors should be able to create these directories to get
"their own site" or the idea that it's theirs. Some kind of referral
marketing ploy. I don't expect large volume of these virtual dirs, but
if I were the host, I'd think twice before allowing someone to do this
on a shared server. Dedicated goes way over budget.

Any ideas?

>I must confess that I am probably misunderstanding your question,
>because I don't see the need for virtual directories to achieve what
you
>want.  From what you describe, it appears that you are merely
attempting
>to employ a login scheme with SES ("search-engine safe") URLs.  No?
>
>Dave
________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to