Re: RE: Virtual Directories and IIS

2010-12-07 Thread Dominic Watson
With a rewrite rule, if rewriting from /somesite/foo.cfm to /foo.cfm, 'somesite' will *not* appear in your cgi.script_name variable (you will see '/foo.cfm'). You can however pass the value to the request as a url parameter, e.g. /somesite/foo.cfm -> /foo.cfm?site=somesite (or some other scheme t

RE: RE: Virtual Directories and IIS

2010-12-06 Thread Russ Michaels
, if the vDir name has nothing to do with the domain name, then you will have to create a new rule for each site. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 21:43 To: cf-talk Subject: Re: RE: Virtual Directories and IIS On Mon, Dec 6, 2010

Re: RE: Virtual Directories and IIS

2010-12-06 Thread Rick Root
On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels wrote: > > Well if each site is different and have its own files then you need a > unique > URL and a folder in which to store the files, so I can't see how you can > avoid either a real or a virtual directory. > However if every site uses the same c

RE: RE: Virtual Directories and IIS

2010-12-06 Thread Russ Michaels
Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 20:19 To: cf-talk Subject: Re: RE: Virtual Directories and IIS Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, "Russ Michaels" wrote: Rick, What is the purpose of all these sub directories, is eac

Re: RE: Virtual Directories and IIS

2010-12-06 Thread Dominic Watson
Simple rewrite rule using a rewrite ISAPI filter. Either the free Ionic one or paid for Helicon: http://www.isapirewrite.com/ http://iirf.codeplex.com/ Your rewrite rule might look something like (there will surely be some better regex for

Re: RE: Virtual Directories and IIS

2010-12-06 Thread Rick Root
Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, "Russ Michaels" wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto: