On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels <[email protected]> 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 codebase, then you could use some url
> rewriting to allow your code to handle the different sites.
>

Each site uses the same code base, and tt already handles it because I
currently use 12,000 virtual directories that point back to the code base in
the web root.  The code itself gets the site information from the name it
finds in the cgi SCRIPT_NAME variable.

Here's an example:  www.classcreator.com/Saline-MI-1990

I was thinking about using ISAPI Rewrite, as suggested by someone else, but
I'm afraid that would actually cause the site name "Saline-MI-1990" to be
invisible to Coldfusion (would it still be part of the cgi.script_name?)

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339846
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to