Re: virtual directory in IIS?
On 6/14/06, Johnny Le [EMAIL PROTECTED] wrote: Is there a way to add a virtual directory to the IIS through CF code or Java? If you are using IIS 6, they have added in some administrative command line scripts that you could probably call to handle this... http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1805162e-6ac5-4a98-9a08-919c4c10827d.mspx?mfr=true -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243466 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: virtual directory in IIS?
Sort of, but not the way you're thinking. You need to write a VB script to handle that kind of interaction. At least, that's the only way I know to handle it. CF could then execute the VB script, of course. On 6/14/06, Johnny Le [EMAIL PROTECTED] wrote: Is there a way to add a virtual directory to the IIS through CF code or Java? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243469 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: virtual directory in IIS?
There are scripts in the inetpub/adminscripts directory that can do some of that. Just call them via cfexecute. I have seen some other products out there that can do this as well but can't think of any off the top of my head. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 11:31 AM To: CF-Talk Subject: Re: virtual directory in IIS? Sort of, but not the way you're thinking. You need to write a VB script to handle that kind of interaction. At least, that's the only way I know to handle it. CF could then execute the VB script, of course. On 6/14/06, Johnny Le [EMAIL PROTECTED] wrote: Is there a way to add a virtual directory to the IIS through CF code or Java? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243479 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: virtual directory in IIS?
Is there a way to add a virtual directory to the IIS through CF code or Java? Yes. However, doing this involves a specific COM interface called ADSI. Generally, your best bet probably is to interact with this through Windows Script Host, which you can invoke through CFEXECUTE. As several people have mentioned, there is a script within your AdminScripts directory called mkwebdir.vbs which you can invoke. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243486 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: virtual directory in IIS?
Hi Johnny, There is a custom tag named CFX_IIS this tag should do what you are asking. Thanks Jose Diaz On 6/14/06, Dave Watts [EMAIL PROTECTED] wrote: Is there a way to add a virtual directory to the IIS through CF code or Java? Yes. However, doing this involves a specific COM interface called ADSI. Generally, your best bet probably is to interact with this through Windows Script Host, which you can invoke through CFEXECUTE. As several people have mentioned, there is a script within your AdminScripts directory called mkwebdir.vbs which you can invoke. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243495 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: virtual directory in IIS?
Hi Johnny, Forgot to mention, I'm not sure if the tag is supports IIS 6 if definatly works for 5. All the best Jose Diaz On 6/14/06, Dave Watts [EMAIL PROTECTED] wrote: Is there a way to add a virtual directory to the IIS through CF code or Java? Yes. However, doing this involves a specific COM interface called ADSI. Generally, your best bet probably is to interact with this through Windows Script Host, which you can invoke through CFEXECUTE. As several people have mentioned, there is a script within your AdminScripts directory called mkwebdir.vbs which you can invoke. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243497 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54