We do something similar.
But we have a coldfusion page that basically says create a site. You can then script all the bits, all the virtual directories etc. The creation of the site will take all the default properties you have defined in IIS on the Websites (Folder Icon). So I would suggest doing something like that if you are doing it a lot. Regards Dale Fraser http://learncf.com From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Vanderpal Sent: Wednesday, 17 October 2007 5:49 PM To: [email protected] Subject: [cfaussie] Re: Assign virtual directory to all websites with IIS To make certain things available to all sites that we create on our servers. I want to allow certain css style sheets elements/templates, js libraries etc available to all the sites we create, saves me duplicating it across all sites and no they are not the same site eg mydomain.com points to say c:\websites\mysite.com and yoursite.com points to c:\websites\yourdomain.com where virtual dir call /jslibraries points to c:\websites\jslibraries which can be made available via www.mysite.com/jslibraries and www.yoursite.com/jslibraries so is this done in IIS or something else? :) On 10/17/07, Dale Fraser < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Why? If mydomain.com and yoursite.com are the same site, then they should be one website. If they are different sites, then why would you want an auto vdir on every site. If there is something im missing, I have a script that creates virtual directories. So you could automate that way. Also have you considered a mapping? Regards Dale Fraser http://learncf.com From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Vanderpal Sent: Wednesday, 17 October 2007 4:48 PM To: CF Aussie - Google Subject: [cfaussie] Assign virtual directory to all websites with IIS Hi all, can someone tell me how to assign a virtual folder to all websites on IIS 6 (Windows 2003 server) so /billy-bob can be accessed by mydomain.com/billy-bob and yoursite.com/bill-bob which sits outside the specific domain directory thanks -- ==================================== Postal: Po Box 3462 Dural, NSW 2158 Email: mailto:[EMAIL PROTECTED] Skype: skype:carlos-amigos?call -- ==================================== Postal: Po Box 3462 Dural, NSW 2158 Email: mailto:[EMAIL PROTECTED] Skype: skype:carlos-amigos?call --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
